com.github.fge.jsonschema.core.keyword.syntax.checkers.helpers
Class SchemaMapSyntaxChecker
java.lang.Object
com.github.fge.jsonschema.core.keyword.syntax.checkers.AbstractSyntaxChecker
com.github.fge.jsonschema.core.keyword.syntax.checkers.helpers.SchemaMapSyntaxChecker
- All Implemented Interfaces:
- SyntaxChecker
- Direct Known Subclasses:
- DefinitionsSyntaxChecker, DraftV3PropertiesSyntaxChecker, DraftV4PropertiesSyntaxChecker, PatternPropertiesSyntaxChecker
public abstract class SchemaMapSyntaxChecker
- extends AbstractSyntaxChecker
Helper class for keywords having an object as a value whose values are
schemas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaMapSyntaxChecker
protected SchemaMapSyntaxChecker(String keyword)
checkValue
protected final void checkValue(Collection<JsonPointer> pointers,
MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
throws ProcessingException
- Description copied from class:
AbstractSyntaxChecker
- Method which all syntax checkers extending this class must implement
At this point, it is known that the keyword's value has at least the
correct type.
- Specified by:
checkValue in class AbstractSyntaxChecker
- Parameters:
pointers - the list of JSON Pointers to fill (see description)bundle - the message bundle to usereport - the processing report to usetree - the schema
- Throws:
InvalidSchemaException - keyword is invalid
ProcessingException
extraChecks
protected abstract void extraChecks(ProcessingReport report,
MessageBundle bundle,
SchemaTree tree)
throws ProcessingException
- Perform extra checks on the value
- Parameters:
report - the report to usebundle - the message bundle to usetree - the schema
- Throws:
InvalidSchemaException - schema is invalid
ProcessingException