public final class NotKeywordValidator extends KeywordValidator
not keyword
An instance is valid against that keyword if and only if it is not valid against the schema defined by this keyword.
keyword| Constructor and Description |
|---|
NotKeywordValidator(JsonNode schema) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
protected void |
validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Method which all keyword validators must implement
|
alwaysTrue, newMsg, validateInstancepublic NotKeywordValidator(JsonNode schema)
protected void validate(ValidationContext context, ValidationReport report, JsonNode instance)
KeywordValidatorvalidate in class KeywordValidatorcontext - the contextreport - the validation reportinstance - the instance to validatepublic String toString()
toString in class KeywordValidatorCopyright © 2013. All Rights Reserved.