public class MinLengthValidator extends AbstractValidator<String>
Modifier and Type | Class and Description |
---|---|
protected class |
MinLengthValidator.DefaultMinLengthMessages |
static interface |
MinLengthValidator.MinLengthMessages |
Modifier and Type | Field and Description |
---|---|
protected int |
minLength |
Constructor and Description |
---|
MinLengthValidator(int minLength) |
Modifier and Type | Method and Description |
---|---|
MinLengthValidator.MinLengthMessages |
getMessages() |
void |
setMessages(MinLengthValidator.MinLengthMessages messages) |
List<EditorError> |
validate(<any> field,
String value)
Validates the value.
|
createError, createError, encodeMessage
public MinLengthValidator.MinLengthMessages getMessages()
public void setMessages(MinLengthValidator.MinLengthMessages messages)
Copyright © 2018. All rights reserved.