public final class MaximumKeywordValidator extends NumericKeywordValidator
maximum keyword
It also pairs with exclusiveMaximum, if found. The latter has no
signification in and of itself without maximum.
numberkeyword| Constructor and Description |
|---|
MaximumKeywordValidator(JsonNode schema) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validateDecimal(ValidationReport report,
JsonNode instance)
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(ValidationReport report,
JsonNode instance)
Method to be implemented by a numeric validator if both the keyword
value and instance value fit into a
long |
toString, validatealwaysTrue, newMsg, validateInstancepublic MaximumKeywordValidator(JsonNode schema)
protected void validateLong(ValidationReport report, JsonNode instance)
NumericKeywordValidatorlongvalidateLong in class NumericKeywordValidatorreport - the validation reportinstance - the instance to validateprotected void validateDecimal(ValidationReport report, JsonNode instance)
NumericKeywordValidatorlongvalidateDecimal in class NumericKeywordValidatorreport - the validation reportinstance - the instance to validateCopyright © 2013. All Rights Reserved.