org.eel.kitchen.jsonschema.keyword
Class EnumKeywordValidator

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

public final class EnumKeywordValidator
extends KeywordValidator


Field Summary
 
Fields inherited from class org.eel.kitchen.jsonschema.keyword.KeywordValidator
instanceTypes
 
Constructor Summary
EnumKeywordValidator(JsonNode schema)
           
 
Method Summary
 void validate(ValidationReport report, JsonNode instance)
           
 
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

EnumKeywordValidator

public EnumKeywordValidator(JsonNode schema)
Method Detail

validate

public void validate(ValidationReport report,
                     JsonNode instance)
Specified by:
validate in class KeywordValidator


Copyright © 2012. All Rights Reserved.