Class Length
java.lang.Object
com.sdicons.json.validator.impl.predicates.Predicate
com.sdicons.json.validator.impl.predicates.Length
- All Implemented Interfaces:
Validator
-
Field Details
-
minLength
-
maxLength
-
-
Constructor Details
-
Length
- Throws:
ValidationException
-
-
Method Details
-
validate
Description copied from interface:Validator
Validate a JSONValue.- Parameters:
aValue
- The JSONValue that has to be validated.- Throws:
ValidationException
- If the validation fails.
-