com.github.fge.jsonschema.core.keyword.syntax
Class SyntaxProcessor

java.lang.Object
  extended by com.github.fge.jsonschema.core.processing.RawProcessor<SchemaTree,SchemaTree>
      extended by com.github.fge.jsonschema.core.keyword.syntax.SyntaxProcessor
All Implemented Interfaces:
Processor<ValueHolder<SchemaTree>,ValueHolder<SchemaTree>>

public final class SyntaxProcessor
extends RawProcessor<SchemaTree,SchemaTree>

Syntax processor


Constructor Summary
SyntaxProcessor(MessageBundle bundle, Dictionary<SyntaxChecker> dict)
          Constructor
 
Method Summary
 SchemaTree rawProcess(ProcessingReport report, SchemaTree input)
          Process a raw input, return a raw output
 String toString()
           
 
Methods inherited from class com.github.fge.jsonschema.core.processing.RawProcessor
newMessage, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyntaxProcessor

public SyntaxProcessor(MessageBundle bundle,
                       Dictionary<SyntaxChecker> dict)
Constructor

Parameters:
bundle - message bundle used by this syntax checker
dict - dictionary of syntax checkers
Method Detail

rawProcess

public SchemaTree rawProcess(ProcessingReport report,
                             SchemaTree input)
                      throws ProcessingException
Description copied from class: RawProcessor
Process a raw input, return a raw output

Specified by:
rawProcess in class RawProcessor<SchemaTree,SchemaTree>
Parameters:
report - the report to use
input - the raw input
Returns:
the raw output
Throws:
ProcessingException - processing failure
See Also:
RawProcessor.newMessage(Object)

toString

public String toString()
Overrides:
toString in class Object