public final class MinLengthKeywordValidator extends PositiveIntegerKeywordValidator
minLength keywordintValuekeyword| Constructor and Description |
|---|
MinLengthKeywordValidator(JsonNode schema) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alwaysTrue() |
void |
validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Method which all keyword validators must implement
|
toStringnewMsg, validateInstancepublic MinLengthKeywordValidator(JsonNode schema)
public void validate(ValidationContext context, ValidationReport report, JsonNode instance)
KeywordValidatorvalidate in class KeywordValidatorcontext - the contextreport - the validation reportinstance - the instance to validatepublic boolean alwaysTrue()
alwaysTrue in class KeywordValidatorCopyright © 2013. All Rights Reserved.