public interface KeywordValidator
Some keywords may have to ask the validation process to validate some
subschemas for them -- and in fact, some keywords, such as allOf,
not or extends, for instance, do this exclusively.
Therefore they are passed the main validator (as a Processor as
an argument. They take the responsibility of building the appropriate FullData and calling the processor again.
| Modifier and Type | Method and Description |
|---|---|
void |
validate(com.github.fge.jsonschema.core.processing.Processor<FullData,FullData> processor,
com.github.fge.jsonschema.core.report.ProcessingReport report,
MessageBundle bundle,
FullData data)
Validate the instance
|
void validate(com.github.fge.jsonschema.core.processing.Processor<FullData,FullData> processor, com.github.fge.jsonschema.core.report.ProcessingReport report, MessageBundle bundle, FullData data) throws com.github.fge.jsonschema.core.exceptions.ProcessingException
processor - the main validation processorreport - the report to usebundle - the message bundle to usedata - the validation dataInvalidInstanceException - instance is invalid, and the report has
been configured to throw an exception instead of logging errorscom.github.fge.jsonschema.core.exceptions.ProcessingException