public final class MaximumValidator extends NumericValidator
maximumnumberkeyword| Constructor and Description |
|---|
MaximumValidator(JsonNode digest) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validateDecimal(ProcessingReport report,
MessageBundle bundle,
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,
MessageBundle bundle,
FullData data)
Method to be implemented by a numeric validator if both the keyword
value and instance value fit into a
long |
toString, validatenewMsg, newMsg, toArrayNodepublic MaximumValidator(JsonNode digest)
protected void validateLong(ProcessingReport report, MessageBundle bundle, FullData data) throws ProcessingException
NumericValidatorlongvalidateLong in class NumericValidatorreport - the validation reportbundle - the message bundle to usedata - the validation dataProcessingException - a processing error occurred during validationprotected void validateDecimal(ProcessingReport report, MessageBundle bundle, FullData data) throws ProcessingException
NumericValidatorlongvalidateDecimal in class NumericValidatorreport - the validation reportbundle - the message bundle to usedata - the validation dataProcessingException - a processing error occurred during validation