public final class EnumValidator extends AbstractKeywordValidator
enum
JsonSchemaEquivalence
keyword
Constructor and Description |
---|
EnumValidator(com.fasterxml.jackson.databind.JsonNode digest) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
void |
validate(com.github.fge.jsonschema.processing.Processor<FullData,FullData> processor,
com.github.fge.jsonschema.report.ProcessingReport report,
FullData data)
Validate the instance
|
newMsg
public EnumValidator(com.fasterxml.jackson.databind.JsonNode digest)
public void validate(com.github.fge.jsonschema.processing.Processor<FullData,FullData> processor, com.github.fge.jsonschema.report.ProcessingReport report, FullData data) throws com.github.fge.jsonschema.exceptions.ProcessingException
KeywordValidator
processor
- the main validation processorreport
- the report 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.exceptions.ProcessingException
public String toString()
toString
in class AbstractKeywordValidator
Copyright © 2014. All Rights Reserved.