## Uses of Interface
com.opensymphony.xwork2.validator.FieldValidator

- Packages that use FieldValidator
  Package | Description
  --- | ---
  com.opensymphony.xwork2.validator.validators | XWork default validator classes.
  org.apache.struts2.components |

- - ### Uses of FieldValidator in com.opensymphony.xwork2.validator.validators

    Classes in com.opensymphony.xwork2.validator.validators that implement FieldValidator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConditionalVisitorFieldValidator` The ConditionalVisitorFieldValidator will forward validation to the VisitorFieldValidator only if the expression will evaluate to true.
    `class` | `ConversionErrorFieldValidator` Field Validator that checks if a conversion error occurred for this field.
    `class` | `CreditCardValidator` CreditCardFieldValidator checks that a given String/Array/Collection field, if not empty, is a valid credit card number.
    `class` | `DateRangeFieldValidator` Field Validator that checks if the date supplied is within a specific range.
    `class` | `DoubleRangeFieldValidator` Field Validator that checks if the double specified is within a certain range.
    `class` | `EmailValidator` EmailValidator checks that a given String field, if not empty, is a valid email address.
    `class` | `FieldExpressionValidator` Validates a field using an OGNL expression.
    `class` | `FieldValidatorSupport` Base class for field validators.
    `class` | `IntRangeFieldValidator` Field Validator that checks if the integer specified is within a certain range.
    `class` | `LongRangeFieldValidator` Field Validator that checks if the long specified is within a certain range.
    `class` | `RangeValidatorSupport<T extends Comparable>` Base class for range based validators.
    `class` | `RegexFieldValidator` Validates a string field using a regular expression.
    `class` | `RepopulateConversionErrorFieldValidatorSupport` An abstract base class that adds in the capability to populate the stack with a fake parameter map when a conversion error has occurred and the 'repopulateField' property is set to "true".
    `class` | `RequiredFieldValidator` RequiredFieldValidator checks if the specified field is not null.
    `class` | `RequiredStringValidator` RequiredStringValidator checks that a String field is non-null and has a length > 0.
    `class` | `ShortRangeFieldValidator` Field Validator that checks if the short specified is within a certain range.
    `class` | `StringLengthFieldValidator` StringLengthFieldValidator checks that a String field is of a certain length.
    `class` | `URLValidator` URLValidator checks that a given field is a String and a valid URL
    `class` | `VisitorFieldValidator`

  - ### Uses of FieldValidator in org.apache.struts2.components

    Classes in org.apache.struts2.components that implement FieldValidator
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Form.FieldVisitorValidatorWrapper` Wrap field validator, add visitor's field prefix to the field name.

    Methods in org.apache.struts2.components that return FieldValidator
    Modifier and Type | Method and Description
    --- | ---
    `FieldValidator` | Form.FieldVisitorValidatorWrapper.`getFieldValidator()`

    Methods in org.apache.struts2.components with parameters of type FieldValidator
    Modifier and Type | Method and Description
    --- | ---
    `void` | Form.FieldVisitorValidatorWrapper.`setFieldValidator(FieldValidator fieldValidator)`

    Constructors in org.apache.struts2.components with parameters of type FieldValidator
    Constructor and Description
    `FieldVisitorValidatorWrapper(FieldValidator fv, String namePrefix)`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.