org.eel.kitchen.jsonschema.keyword
Class MaximumKeywordValidator

java.lang.Object
  extended by org.eel.kitchen.jsonschema.keyword.KeywordValidator
      extended by org.eel.kitchen.jsonschema.keyword.NumericKeywordValidator
          extended by org.eel.kitchen.jsonschema.keyword.MaximumKeywordValidator

public final class MaximumKeywordValidator
extends NumericKeywordValidator


Field Summary
 
Fields inherited from class org.eel.kitchen.jsonschema.keyword.NumericKeywordValidator
decimalValue, isLong, longValue
 
Fields inherited from class org.eel.kitchen.jsonschema.keyword.KeywordValidator
instanceTypes
 
Constructor Summary
MaximumKeywordValidator(JsonNode schema)
           
 
Method Summary
protected  void validateDecimal(ValidationReport report, BigDecimal instanceValue)
           
protected  void validateLong(ValidationReport report, long instanceValue)
           
 
Methods inherited from class org.eel.kitchen.jsonschema.keyword.NumericKeywordValidator
validate
 
Methods inherited from class org.eel.kitchen.jsonschema.keyword.KeywordValidator
validateInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaximumKeywordValidator

public MaximumKeywordValidator(JsonNode schema)
Method Detail

validateLong

protected void validateLong(ValidationReport report,
                            long instanceValue)
Specified by:
validateLong in class NumericKeywordValidator

validateDecimal

protected void validateDecimal(ValidationReport report,
                               BigDecimal instanceValue)
Specified by:
validateDecimal in class NumericKeywordValidator


Copyright © 2012. All Rights Reserved.