com.github.fge.jsonschema.processors.validation
Class ValidationChain

java.lang.Object
  extended by com.github.fge.jsonschema.processors.validation.ValidationChain
All Implemented Interfaces:
com.github.fge.jsonschema.core.processing.Processor<SchemaContext,ValidatorList>

public final class ValidationChain
extends Object
implements com.github.fge.jsonschema.core.processing.Processor<SchemaContext,ValidatorList>

A validation chain

This processor performs the following:

A validation chain handles one schema version. Switching schema versions is done by ValidationProcessor.


Constructor Summary
ValidationChain(com.github.fge.jsonschema.core.load.RefResolver refResolver, Library library, ValidationConfiguration cfg)
           
 
Method Summary
 ValidatorList process(com.github.fge.jsonschema.core.report.ProcessingReport report, SchemaContext input)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationChain

public ValidationChain(com.github.fge.jsonschema.core.load.RefResolver refResolver,
                       Library library,
                       ValidationConfiguration cfg)
Method Detail

process

public ValidatorList process(com.github.fge.jsonschema.core.report.ProcessingReport report,
                             SchemaContext input)
                      throws com.github.fge.jsonschema.core.exceptions.ProcessingException
Specified by:
process in interface com.github.fge.jsonschema.core.processing.Processor<SchemaContext,ValidatorList>
Throws:
com.github.fge.jsonschema.core.exceptions.ProcessingException

toString

public String toString()
Overrides:
toString in class Object