com.opensymphony.xwork.validator
Interface FieldValidator
- All Superinterfaces:
- Validator
- All Known Implementing Classes:
- FieldValidatorSupport
- public interface FieldValidator
- extends Validator
The FieldValidator interface defines the methods to be implemented by FieldValidators,
which are used by the XWork validation framework to validate Action properties before
executing the Action.
- Version:
- $Revision: 861 $
- Author:
- $author$
setFieldName
public void setFieldName(String fieldName)
- Sets the field name to validate with this FieldValidator
- Parameters:
fieldName
-
getFieldName
public String getFieldName()
- Returns:
- the field name to be validated