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 FieldValidator
ValidationException
protected boolean validateLength(int len)
Copyright © 2018 Nuxeo. All rights reserved.