public class ExactLengthValidator extends Object implements FieldValidator
Modifier and Type | Field and Description |
---|---|
protected int |
length |
Constructor and Description |
---|
ExactLengthValidator(int length) |
protected int length
public ExactLengthValidator(int length)
public void validate(String value, Object decoded) throws ValidationException
validate
in interface FieldValidator
ValidationException
Copyright © 2015 Nuxeo SA. All rights reserved.