com.github.fge.jsonschema.processors.validation
Class ValidationChain
java.lang.Object
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:
- perform reference lookup then syntax validation;
- throw an exception if the previous step fails;
- then perform schema digesting and keyword building.
A validation chain handles one schema version. Switching schema versions
is done by ValidationProcessor
.
ValidationChain
public ValidationChain(RefResolver refResolver,
Library library,
boolean useFormat)
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.