public final class ValidatorBuilder extends Object implements com.github.fge.jsonschema.processing.Processor<SchemaDigest,ValidatorList>
This takes a SchemaDigest as an input and outputs a ValidatorList. The main processor, ValidationProcessor, then uses
this validator list to perform actual instance validation.
ValidationProcessor| Constructor and Description |
|---|
ValidatorBuilder(com.github.fge.jsonschema.library.Dictionary<Constructor<? extends KeywordValidator>> dict) |
ValidatorBuilder(Library library) |
| Modifier and Type | Method and Description |
|---|---|
ValidatorList |
process(com.github.fge.jsonschema.report.ProcessingReport report,
SchemaDigest input)
Process the input
|
String |
toString() |
public ValidatorBuilder(Library library)
public ValidatorBuilder(com.github.fge.jsonschema.library.Dictionary<Constructor<? extends KeywordValidator>> dict)
public ValidatorList process(com.github.fge.jsonschema.report.ProcessingReport report, SchemaDigest input) throws com.github.fge.jsonschema.exceptions.ProcessingException
process in interface com.github.fge.jsonschema.processing.Processor<SchemaDigest,ValidatorList>report - the report to use while processinginput - the input for this processorcom.github.fge.jsonschema.exceptions.ProcessingException - processing failedCopyright © 2014. All Rights Reserved.