Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.validator
Interface FieldValidator

All Superinterfaces:
  Validator

All Known Implementing Classes:
  AbstractRangeValidator, ConversionErrorFieldValidator, DateRangeFieldValidator, DoubleRangeFieldValidator, EmailValidator, FieldExpressionValidator, FieldValidatorSupport, IntRangeFieldValidator, RegexFieldValidator, RepopulateConversionErrorFieldValidatorSupport, RequiredFieldValidator, RequiredStringValidator, StringLengthFieldValidator, URLValidator, VisitorFieldValidator

    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: 1063 $
Author:
  $author$

Method Summary
`String` | `getFieldName()`
`void` | `setFieldName(String fieldName)` Sets the field name to validate with this FieldValidator

Methods inherited from interface com.opensymphony.xwork2.validator.Validator
`getDefaultMessage, getMessage, getMessageKey, getValidatorContext, getValidatorType, setDefaultMessage, setMessageKey, setValidatorContext, setValidatorType, validate`

Method Detail

### setFieldName

    void setFieldName(String fieldName)

  Sets the field name to validate with this FieldValidator

  Parameters:
    `fieldName` -

### getFieldName

    String getFieldName()

  Returns:
    the field name to be validated

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 OpenSymphony. All Rights Reserved.