public class ArrayChildrenSyntaxChecker extends SimpleSyntaxChecker
This class checks that the element is an array, and that all elements of this array are of a given set of types.
| Modifier and Type | Field and Description |
|---|---|
private EnumSet<NodeType> |
childrenTypes |
keyword| Modifier | Constructor and Description |
|---|---|
protected |
ArrayChildrenSyntaxChecker(String keyword,
EnumSet<NodeType> childrenTypes,
NodeType type,
NodeType... types) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
checkValue(List<String> messages,
JsonNode schema) |
checkSyntaxfinal void checkValue(List<String> messages, JsonNode schema)
checkValue in class SimpleSyntaxCheckerCopyright © 2012. All Rights Reserved.