org.eel.kitchen.jsonschema.keyword
Class NumericKeywordValidator
java.lang.Object
org.eel.kitchen.jsonschema.keyword.KeywordValidator
org.eel.kitchen.jsonschema.keyword.NumericKeywordValidator
- Direct Known Subclasses:
- DivisibleByKeywordValidator, MaximumKeywordValidator, MinimumKeywordValidator
public abstract class NumericKeywordValidator
- extends KeywordValidator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decimalValue
protected final BigDecimal decimalValue
longValue
protected final long longValue
isLong
protected final boolean isLong
NumericKeywordValidator
protected NumericKeywordValidator(String keyword,
JsonNode schema)
validateLong
protected abstract void validateLong(ValidationReport report,
long instanceValue)
validateDecimal
protected abstract void validateDecimal(ValidationReport report,
BigDecimal instanceValue)
validate
public final void validate(ValidationReport report,
JsonNode instance)
- Specified by:
validate in class KeywordValidator
Copyright © 2012. All Rights Reserved.