com.github.fge.jsonschema.keyword.validator.draftv3
Class DisallowKeywordValidator
java.lang.Object
com.github.fge.jsonschema.keyword.validator.AbstractKeywordValidator
com.github.fge.jsonschema.keyword.validator.helpers.DraftV3TypeKeywordValidator
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
DisallowKeywordValidator
public DisallowKeywordValidator(JsonNode digested)
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 processorreport - the report to usebundle - the message bundle to usedata - the validation data
- Throws:
InvalidInstanceException - instance is invalid, and the report has
been configured to throw an exception instead of logging errors
ProcessingException