@ThreadRestricted(value="wicket") public final class MaxLengthValidator extends Object implements IValidator<CharSequence>
Constructor and Description |
---|
MaxLengthValidator(int _maxLength)
Constructs a MaxLengthValidator.
|
public MaxLengthValidator(int _maxLength)
maxLength()
public int maxLength()
public void validate(IValidatable<CharSequence> v) throws ClassCastException
validate
in interface IValidator<CharSequence>
ClassCastException
- if the value is not a CharSequence