public final class MaximumValidator extends NumericValidator
maximum
number
keyword
Constructor and Description |
---|
MaximumValidator(JsonNode digest) |
Modifier and Type | Method and Description |
---|---|
protected void |
validateDecimal(ProcessingReport report,
FullData data)
Method to be implemented by a numeric validator if either of the
keyword value or instance value do not fit into a
long |
protected void |
validateLong(ProcessingReport report,
FullData data)
Method to be implemented by a numeric validator if both the keyword
value and instance value fit into a
long |
toString, validate
newMsg
public MaximumValidator(JsonNode digest)
protected void validateLong(ProcessingReport report, FullData data) throws ProcessingException
NumericValidator
long
validateLong
in class NumericValidator
report
- the validation reportdata
- the validation dataProcessingException
protected void validateDecimal(ProcessingReport report, FullData data) throws ProcessingException
NumericValidator
long
validateDecimal
in class NumericValidator
report
- the validation reportdata
- the validation dataProcessingException
Copyright © 2013. All Rights Reserved.