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