public class LengthValidator extends Object implements FieldValidator
| Constructor and Description |
|---|
LengthValidator(int min,
int max) |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(String value,
Object decoded) |
protected boolean |
validateLength(int len) |
public LengthValidator(int min, int max)
public void validate(String value, Object decoded) throws ValidationException
validate in interface FieldValidatorValidationExceptionprotected boolean validateLength(int len)
Copyright © 2019 Nuxeo. All rights reserved.