public static final class Example9.DivisorsKeywordValidator extends AbstractKeywordValidator
Example9
It must be public
because it is built by reflection.keyword
Constructor and Description |
---|
Example9.DivisorsKeywordValidator(JsonNode digest) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
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
|
newMsg, newMsg, toArrayNode
public Example9.DivisorsKeywordValidator(JsonNode digest)
public 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
KeywordValidator
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
public String toString()
toString
in class AbstractKeywordValidator