public abstract class SchemaMapSyntaxChecker extends AbstractSyntaxChecker
keyword
Modifier | Constructor and Description |
---|---|
protected |
SchemaMapSyntaxChecker(String keyword) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Method which all syntax checkers extending this class must implement
|
protected abstract void |
extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree)
Perform extra checks on the value
|
checkSyntax, getNode, getValidTypes, newMsg
protected SchemaMapSyntaxChecker(String keyword)
protected final void checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers, com.github.fge.msgsimple.bundle.MessageBundle bundle, ProcessingReport report, SchemaTree tree) throws ProcessingException
AbstractSyntaxChecker
At this point, it is known that the keyword's value has at least the correct type.
checkValue
in class AbstractSyntaxChecker
pointers
- 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
protected abstract void extraChecks(ProcessingReport report, com.github.fge.msgsimple.bundle.MessageBundle bundle, SchemaTree tree) throws ProcessingException
report
- the report to usebundle
- the message bundle to usetree
- the schemaInvalidSchemaException
- schema is invalidProcessingException
Copyright © 2016. All rights reserved.