com.github.fge.jsonschema.keyword.validator.draftv3
Class DisallowKeywordValidator

java.lang.Object
  extended by com.github.fge.jsonschema.keyword.validator.AbstractKeywordValidator
      extended by com.github.fge.jsonschema.keyword.validator.helpers.DraftV3TypeKeywordValidator
          extended by com.github.fge.jsonschema.keyword.validator.draftv3.DisallowKeywordValidator
All Implemented Interfaces:
KeywordValidator

public final class DisallowKeywordValidator
extends DraftV3TypeKeywordValidator

Keyword validator for draft v3's disallow


Field Summary
 
Fields inherited from class com.github.fge.jsonschema.keyword.validator.helpers.DraftV3TypeKeywordValidator
FACTORY, schemas, types
 
Fields inherited from class com.github.fge.jsonschema.keyword.validator.AbstractKeywordValidator
keyword
 
Constructor Summary
DisallowKeywordValidator(JsonNode digested)
           
 
Method Summary
 void validate(Processor<FullData,FullData> processor, ProcessingReport report, MessageBundle bundle, FullData data)
          Validate the instance
 
Methods inherited from class com.github.fge.jsonschema.keyword.validator.helpers.DraftV3TypeKeywordValidator
toString
 
Methods inherited from class com.github.fge.jsonschema.keyword.validator.AbstractKeywordValidator
newMsg, newMsg, toArrayNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DisallowKeywordValidator

public DisallowKeywordValidator(JsonNode digested)
Method Detail

validate

public void validate(Processor<FullData,FullData> processor,
                     ProcessingReport report,
                     MessageBundle bundle,
                     FullData data)
              throws ProcessingException
Description copied from interface: KeywordValidator
Validate the instance

Parameters:
processor - the main validation processor
report - the report to use
bundle - the message bundle to use
data - the validation data
Throws:
InvalidInstanceException - instance is invalid, and the report has been configured to throw an exception instead of logging errors
ProcessingException