com.github.fge.jsonschema.core.keyword.syntax
Class SyntaxProcessor
java.lang.Object
com.github.fge.jsonschema.core.processing.RawProcessor<SchemaTree,SchemaTree>
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
SyntaxProcessor
public SyntaxProcessor(MessageBundle bundle,
Dictionary<SyntaxChecker> dict)
- Constructor
- Parameters:
bundle - message bundle used by this syntax checkerdict - dictionary of syntax checkers
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 useinput - 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