public final class RefResolver extends Object implements Processor<SchemaHolder,SchemaHolder>
This is the first, and probably the most important, processor to run in the validation chain.
Its role is to resolve all JSON References until a final document is reached. It will throw an exception if a JSON Reference loop is detected, or if a JSON Reference does not resolve.
It relies on a SchemaLoader
to load JSON References which are not
resolvable within the current schema itself.
Constructor and Description |
---|
RefResolver(SchemaLoader loader) |
public RefResolver(SchemaLoader loader)
public SchemaHolder process(ProcessingReport report, SchemaHolder input) throws ProcessingException
process
in interface Processor<SchemaHolder,SchemaHolder>
ProcessingException
Copyright © 2013. All Rights Reserved.