public final class MaxLengthValidator extends PositiveIntegerValidator
maxLength
intValue
keyword
Constructor and Description |
---|
MaxLengthValidator(com.fasterxml.jackson.databind.JsonNode digested) |
Modifier and Type | Method and Description |
---|---|
void |
validate(com.github.fge.jsonschema.processing.Processor<FullData,FullData> processor,
com.github.fge.jsonschema.report.ProcessingReport report,
FullData data)
Validate the instance
|
toString
newMsg
public MaxLengthValidator(com.fasterxml.jackson.databind.JsonNode digested)
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
Copyright © 2014. All Rights Reserved.