public final class DraftV3TypeKeywordValidator extends AbstractTypeKeywordValidator
type keyword
This keyword and its counterpart (disallow) are two of the most
complex keywords.
schemas, typeSetkeyword| Constructor and Description |
|---|
DraftV3TypeKeywordValidator(JsonNode schema) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alwaysTrue() |
void |
validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Method which all keyword validators must implement
|
toStringnewMsg, validateInstancepublic DraftV3TypeKeywordValidator(JsonNode schema)
public void validate(ValidationContext context, ValidationReport report, JsonNode instance)
KeywordValidatorvalidate in class KeywordValidatorcontext - the contextreport - the validation reportinstance - the instance to validatepublic boolean alwaysTrue()
alwaysTrue in class KeywordValidatorCopyright © 2013. All Rights Reserved.