public class StringLengthValidator
extends com.opensymphony.xwork.validator.validators.FieldValidatorSupport
Constructor and Description |
---|
StringLengthValidator() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxLength() |
int |
getMinLength() |
void |
setMaxLength(int maxLength) |
void |
setMinLength(int minLength) |
void |
validate(Object object) |
getFieldName, setFieldName
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setShortCircuit, setValidatorContext
public void validate(Object object) throws com.opensymphony.xwork.validator.ValidationException
com.opensymphony.xwork.validator.ValidationException
public int getMaxLength()
public void setMaxLength(int maxLength)
public int getMinLength()
public void setMinLength(int minLength)
Copyright © 2003–2016 Atlassian. All rights reserved.
View cookie preferences