|
||||||||||
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 FieldValidator
public java.lang.String getFieldName()
getFieldName
in interface FieldValidator
public void setValidatorType(java.lang.String type)
setValidatorType
in interface Validator
setValidatorType
in class ValidatorSupport
public java.lang.String getValidatorType()
getValidatorType
in interface Validator
getValidatorType
in class ValidatorSupport
|
XWork Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |