|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.validator.validators.ValidatorSupport
com.opensymphony.xwork.validator.validators.FieldValidatorSupport
public abstract class FieldValidatorSupport
Base class for field validators.
| Field Summary |
|---|
| Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport |
|---|
defaultMessage, log, messageKey |
| Constructor Summary | |
|---|---|
FieldValidatorSupport()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFieldName()
|
java.lang.String |
getValidatorType()
|
void |
setFieldName(java.lang.String fieldName)
Sets the field name to validate with this FieldValidator |
void |
setValidatorType(java.lang.String type)
|
| 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, validate |
| Constructor Detail |
|---|
public FieldValidatorSupport()
| Method Detail |
|---|
public void setFieldName(java.lang.String fieldName)
FieldValidator
setFieldName in interface FieldValidatorpublic java.lang.String getFieldName()
getFieldName in interface FieldValidatorpublic void setValidatorType(java.lang.String type)
setValidatorType in interface ValidatorsetValidatorType in class ValidatorSupportpublic java.lang.String getValidatorType()
getValidatorType in interface ValidatorgetValidatorType in class ValidatorSupport
|
XWork Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||