public final class MaxLengthKeywordValidator extends PositiveIntegerKeywordValidator
maxLength keywordintValuekeyword, nodeFactory| Constructor and Description |
|---|
MaxLengthKeywordValidator(JsonNode schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Method which all keyword validators must implement
|
toStringnewMsg, validateInstancepublic MaxLengthKeywordValidator(JsonNode schema)
public void validate(ValidationContext context, ValidationReport report, JsonNode instance)
KeywordValidatorvalidate in class KeywordValidatorcontext - the contextreport - the validation reportinstance - the instance to validateCopyright © 2012. All Rights Reserved.