public final class EnumSyntaxChecker extends AbstractSyntaxChecker
enum keywordJsonNumEqualskeyword| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValue(Collection<JsonPointer> pointers,
MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Method which all syntax checkers extending this class must implement
|
static SyntaxChecker |
getInstance() |
checkSyntax, getNode, getValidTypes, newMsgpublic static SyntaxChecker getInstance()
protected void checkValue(Collection<JsonPointer> pointers, MessageBundle bundle, ProcessingReport report, SchemaTree tree) throws ProcessingException
AbstractSyntaxCheckerAt this point, it is known that the keyword's value has at least the correct type.
checkValue in class AbstractSyntaxCheckerpointers - the list of JSON Pointers to fill (see description)bundle - the message bundle to usereport - the processing report to usetree - the schemaInvalidSchemaException - keyword is invalidProcessingException