public abstract class FieldValidatorSupport extends ValidatorSupport implements FieldValidator
defaultMessage, log, messageKey, stack| Constructor and Description |
|---|
FieldValidatorSupport() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName()
Gets the field name to be validated
|
String |
getValidatorType()
Gets the validator type used (see class javadoc).
|
void |
setFieldName(String fieldName)
Sets the field name to validate with this FieldValidator
|
void |
setValidatorType(String type)
Sets the validator type to use (see class javadoc).
|
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getValidatorContext, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setValidatorContext, setValueStackclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, setDefaultMessage, setMessageKey, setMessageParameters, setValidatorContext, setValueStack, validatepublic void setFieldName(String fieldName)
FieldValidatorsetFieldName in interface FieldValidatorfieldName - the field namepublic String getFieldName()
FieldValidatorgetFieldName in interface FieldValidatorpublic void setValidatorType(String type)
ValidatorsetValidatorType in interface ValidatorsetValidatorType in class ValidatorSupporttype - the type to use.public String getValidatorType()
ValidatorgetValidatorType in interface ValidatorgetValidatorType in class ValidatorSupportCopyright © 2000–2017 Apache Software Foundation. All rights reserved.