public abstract class AbstractTypeKeywordValidator extends KeywordValidator
type and disallow keywords
The structure of these two keywords are the same, the only difference is the validation process.
| Modifier and Type | Field and Description |
|---|---|
private static String |
ANY
Shortcut for all JSON instance types
|
protected Set<JsonNode> |
schemas
Schemas found in the keyword definition
|
protected EnumSet<NodeType> |
typeSet
Simple types found in the keyword definition
|
instanceTypes| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTypeKeywordValidator(String keyword,
JsonNode schema) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addSimpleType(String type)
Add a simple type to
typeSet |
validate, validateInstanceprivate static final String ANY
Copyright © 2012. All Rights Reserved.