public abstract class DivisorValidator extends NumericValidator
multipleOf
and draft v3's
divisibleBy
number
keyword
Modifier | Constructor and Description |
---|---|
protected |
DivisorValidator(String keyword,
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
protected final void validateLong(ProcessingReport report, FullData data) throws ProcessingException
NumericValidator
long
validateLong
in class NumericValidator
report
- the validation reportdata
- the validation dataProcessingException
protected final 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.