public final class MinimumValidator extends NumericValidator
minimum
number
keyword
Constructor and Description |
---|
MinimumValidator(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, validate
newMsg, newMsg, toArrayNode
public MinimumValidator(JsonNode digest)
protected void validateLong(ProcessingReport report, MessageBundle bundle, FullData data) throws ProcessingException
NumericValidator
long
validateLong
in class NumericValidator
report
- 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
NumericValidator
long
validateDecimal
in class NumericValidator
report
- the validation reportbundle
- the message bundle to usedata
- the validation dataProcessingException
- a processing error occurred during validation