com.atlassian.confluence.util.misc
Class StringLengthValidator
java.lang.Object
com.opensymphony.xwork.validator.validators.ValidatorSupport
com.opensymphony.xwork.validator.validators.FieldValidatorSupport
com.atlassian.confluence.util.misc.StringLengthValidator
- All Implemented Interfaces:
- com.opensymphony.xwork.validator.FieldValidator, com.opensymphony.xwork.validator.ShortCircuitableValidator, com.opensymphony.xwork.validator.Validator
public class StringLengthValidator
- extends com.opensymphony.xwork.validator.validators.FieldValidatorSupport
Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport |
defaultMessage, log, messageKey |
Methods inherited from class com.opensymphony.xwork.validator.validators.FieldValidatorSupport |
getFieldName, setFieldName |
Methods inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport |
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setShortCircuit, setValidatorContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.opensymphony.xwork.validator.Validator |
getDefaultMessage, getMessage, getMessageKey, getValidatorContext, setDefaultMessage, setMessageKey, setValidatorContext |
StringLengthValidator
public StringLengthValidator()
validate
public void validate(Object object)
throws com.opensymphony.xwork.validator.ValidationException
- Throws:
com.opensymphony.xwork.validator.ValidationException
getMaxLength
public int getMaxLength()
setMaxLength
public void setMaxLength(int maxLength)
getMinLength
public int getMinLength()
setMinLength
public void setMinLength(int minLength)