Class ExactLengthValidator
- java.lang.Object
-
- org.nuxeo.ecm.webengine.forms.validation.ExactLengthValidator
-
- All Implemented Interfaces:
FieldValidator
public class ExactLengthValidator extends Object implements FieldValidator
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected int
length
-
Constructor Summary
Constructors Constructor Description ExactLengthValidator(int length)
-
-
-
Field Detail
-
length
protected int length
-
-
Constructor Detail
-
ExactLengthValidator
public ExactLengthValidator(int length)
-
-
Method Detail
-
validate
public void validate(String value, Object decoded) throws ValidationException
- Specified by:
validate
in interfaceFieldValidator
- Throws:
ValidationException
-
-