com.github.fge.jsonschema.keyword.validator.common
Class DependenciesValidator
java.lang.Object
com.github.fge.jsonschema.keyword.validator.AbstractKeywordValidator
com.github.fge.jsonschema.keyword.validator.common.DependenciesValidator
- All Implemented Interfaces:
- KeywordValidator
public final class DependenciesValidator
- extends AbstractKeywordValidator
Keyword validator for draft v4 and v3 dependencies
In spite of syntax differences, the digested data used to build the
validator is the same, which is why this validator is located here.
DependenciesValidator
public DependenciesValidator(JsonNode digest)
validate
public void validate(Processor<FullData,FullData> processor,
ProcessingReport report,
MessageBundle bundle,
FullData data)
throws ProcessingException
- Description copied from interface:
KeywordValidator
- Validate the instance
- Parameters:
processor - the main validation processorreport - the report to usebundle - the message bundle to usedata - the validation data
- Throws:
InvalidInstanceException - instance is invalid, and the report has
been configured to throw an exception instead of logging errors
ProcessingException
toString
public String toString()
- Specified by:
toString in class AbstractKeywordValidator