public final class MaximumValidator extends NumericValidator
maximumnumberkeyword| Constructor and Description |
|---|
MaximumValidator(com.fasterxml.jackson.databind.JsonNode digest) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validateDecimal(com.github.fge.jsonschema.report.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(com.github.fge.jsonschema.report.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, validatenewMsgpublic MaximumValidator(com.fasterxml.jackson.databind.JsonNode digest)
protected void validateLong(com.github.fge.jsonschema.report.ProcessingReport report,
FullData data)
throws com.github.fge.jsonschema.exceptions.ProcessingException
NumericValidatorlongvalidateLong in class NumericValidatorreport - the validation reportdata - the validation datacom.github.fge.jsonschema.exceptions.ProcessingExceptionprotected void validateDecimal(com.github.fge.jsonschema.report.ProcessingReport report,
FullData data)
throws com.github.fge.jsonschema.exceptions.ProcessingException
NumericValidatorlongvalidateDecimal in class NumericValidatorreport - the validation reportdata - the validation datacom.github.fge.jsonschema.exceptions.ProcessingExceptionCopyright © 2014. All Rights Reserved.