# Package com.opensymphony.xwork2.validator.annotations

Validator annotations.

See: Description

- Enum Summary
  Enum | Description
  --- | ---
  ValidatorType | `ValidatorType`

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  ConditionalVisitorFieldValidator |
  ConversionErrorFieldValidator | This validator checks if there are any conversion errors for a field and applies them if they exist.
  CreditCardValidator | This validator checks that a field is a valid credit card.
  CustomValidator | This annotation can be used for custom validators.
  DateRangeFieldValidator | This validator checks that a date field has a value within a specified range.
  DoubleRangeFieldValidator | This validator checks that a double field has a value within a specified range.
  EmailValidator | This validator checks that a field is a valid e-mail address if it contains a non-empty String.
  ExpressionValidator | This non-field level validator validates a supplied regular expression.
  FieldExpressionValidator | This validator uses an OGNL expression to perform its validator.
  IntRangeFieldValidator | This validator checks that a numeric field has a value within a specified range.
  LongRangeFieldValidator | This validator checks that a numeric field has a value within a specified range.
  RegexFieldValidator | Validates a string field using a regular expression.
  RequiredFieldValidator | This validator checks that a field is non-null.
  RequiredStringValidator | This validator checks that a String field is not empty (i.e.
  ShortRangeFieldValidator | This validator checks that a numeric field has a value within a specified range.
  StringLengthFieldValidator | This validator checks that a String field is of the right length.
  UrlValidator | This validator checks that a field is a valid URL.
  ValidationParameter | The ValidationParameter annotation is used as a parameter for CustomValidators.
  Validations |
  VisitorFieldValidator | The validator allows you to forward validator to object properties of your action using the objects own validator files.

## Package com.opensymphony.xwork2.validator.annotations Description

Validator annotations.

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