| Package | Description |
|---|---|
| org.eel.kitchen.jsonschema.format |
Format specifier classes
|
| org.eel.kitchen.jsonschema.keyword |
Schema validation core elements: keyword validators
|
| org.eel.kitchen.jsonschema.syntax |
Schema syntax validation package
|
| org.eel.kitchen.jsonschema.util |
Various utility packages
|
| Modifier and Type | Field and Description |
|---|---|
private EnumSet<NodeType> |
FormatSpecifier.typeSet
JSON instance types which this specifier can validate
|
| Constructor and Description |
|---|
FormatSpecifier(NodeType first,
NodeType... other)
Protected constructor
|
FormatSpecifier(NodeType first,
NodeType... other)
Protected constructor
|
| Modifier and Type | Field and Description |
|---|---|
private EnumSet<NodeType> |
KeywordValidator.instanceTypes
What types this keyword validates
|
protected EnumSet<NodeType> |
AbstractTypeKeywordValidator.typeSet
Simple types found in the keyword definition
|
| Constructor and Description |
|---|
KeywordValidator(String keyword,
NodeType... types)
Constructor
|
PositiveIntegerKeywordValidator(String keyword,
JsonNode schema,
NodeType... types)
Protected constructor
|
| Modifier and Type | Field and Description |
|---|---|
private EnumSet<NodeType> |
ArrayChildrenSyntaxChecker.childrenTypes |
private EnumSet<NodeType> |
SimpleSyntaxChecker.validTypes |
| Constructor and Description |
|---|
ArrayChildrenSyntaxChecker(String keyword,
EnumSet<NodeType> childrenTypes,
NodeType type,
NodeType... types) |
ArrayChildrenSyntaxChecker(String keyword,
EnumSet<NodeType> childrenTypes,
NodeType type,
NodeType... types) |
SimpleSyntaxChecker(String keyword,
NodeType type,
NodeType... types) |
SimpleSyntaxChecker(String keyword,
NodeType type,
NodeType... types) |
| Constructor and Description |
|---|
ArrayChildrenSyntaxChecker(String keyword,
EnumSet<NodeType> childrenTypes,
NodeType type,
NodeType... types) |
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,NodeType> |
NodeType.nameMap |
private static Map<JsonToken,NodeType> |
NodeType.reverseMap
Mapping of
JsonToken back to node types (used in
getNodeType(JsonNode)) |
| Modifier and Type | Method and Description |
|---|---|
static NodeType |
NodeType.fromName(String name)
Given a type name, return the corresponding node type
|
static NodeType |
NodeType.getNodeType(JsonNode node)
Given a
JsonNode as an argument, return its type. |
static NodeType |
NodeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
NodeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2012. All Rights Reserved.