public abstract class DivisorValidator extends NumericValidator
numberkeyword| Modifier | Constructor and Description |
|---|---|
protected |
DivisorValidator(String keyword,
JsonNode digest) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validateDecimal(ProcessingReport report,
ValidationData 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,
ValidationData data)
Method to be implemented by a numeric validator if both the keyword
value and instance value fit into a
long |
toString, validatenewMsgprotected final void validateLong(ProcessingReport report, ValidationData data) throws ProcessingException
NumericValidatorlongvalidateLong in class NumericValidatorreport - the validation reportdata - the validation dataProcessingExceptionprotected final void validateDecimal(ProcessingReport report, ValidationData data) throws ProcessingException
NumericValidatorlongvalidateDecimal in class NumericValidatorreport - the validation reportdata - the validation dataProcessingExceptionCopyright © 2013. All Rights Reserved.