com.github.fge.jsonschema.core.keyword.syntax.checkers.draftv4
Class DefinitionsSyntaxChecker

java.lang.Object
  extended by com.github.fge.jsonschema.core.keyword.syntax.checkers.AbstractSyntaxChecker
      extended by com.github.fge.jsonschema.core.keyword.syntax.checkers.helpers.SchemaMapSyntaxChecker
          extended by com.github.fge.jsonschema.core.keyword.syntax.checkers.draftv4.DefinitionsSyntaxChecker
All Implemented Interfaces:
SyntaxChecker

public final class DefinitionsSyntaxChecker
extends SchemaMapSyntaxChecker

Syntax checker for draft v4's definitions keyword


Field Summary
 
Fields inherited from class com.github.fge.jsonschema.core.keyword.syntax.checkers.AbstractSyntaxChecker
keyword
 
Method Summary
protected  void extraChecks(ProcessingReport report, MessageBundle bundle, SchemaTree tree)
          Perform extra checks on the value
static SyntaxChecker getInstance()
           
 
Methods inherited from class com.github.fge.jsonschema.core.keyword.syntax.checkers.helpers.SchemaMapSyntaxChecker
checkValue
 
Methods inherited from class com.github.fge.jsonschema.core.keyword.syntax.checkers.AbstractSyntaxChecker
checkSyntax, getNode, getValidTypes, newMsg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SyntaxChecker getInstance()

extraChecks

protected void extraChecks(ProcessingReport report,
                           MessageBundle bundle,
                           SchemaTree tree)
                    throws ProcessingException
Description copied from class: SchemaMapSyntaxChecker
Perform extra checks on the value

Specified by:
extraChecks in class SchemaMapSyntaxChecker
Parameters:
report - the report to use
bundle - the message bundle to use
tree - the schema
Throws:
InvalidSchemaException - schema is invalid
ProcessingException