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

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

public final class ValidationChain
extends Object
implements 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(RefResolver refResolver, Library library, boolean useFormat)
           
 
Method Summary
 ValidatorList process(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(RefResolver refResolver,
                       Library library,
                       boolean useFormat)
Method Detail

process

public ValidatorList process(ProcessingReport report,
                             SchemaContext input)
                      throws ProcessingException
Specified by:
process in interface Processor<SchemaContext,ValidatorList>
Throws:
ProcessingException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.