# Package org.apache.struts2.validator.validators

package org.apache.struts2.validator.validators
XWork default validator classes.

- Related Packages
  Package
  Description
  org.apache.struts2.validator
  XWork validation subsystem.
  org.apache.struts2.validator.annotations
  Validator annotations.
- Classes
  Class
  Description
  ConditionalVisitorFieldValidator
  The ConditionalVisitorFieldValidator will forward validation to the VisitorFieldValidator only if the expression will evaluate to true.
  ConversionErrorFieldValidator
  Field Validator that checks if a conversion error occurred for this field.
  CreditCardValidator
  CreditCardFieldValidator checks that a given String/Array/Collection field, if not empty, is a valid credit card number.
  DateRangeFieldValidator
  Field Validator that checks if the date supplied is within a specific range.
  DoubleRangeFieldValidator
  Field Validator that checks if the double specified is within a certain range.
  EmailValidator
  EmailValidator checks that a given String field, if not empty, is a valid email address.
  ExpressionValidator
  A Non-Field Level validator that validates based on regular expression supplied.
  FieldExpressionValidator
  Validates a field using an OGNL expression.
  FieldValidatorSupport
  Base class for field validators.
  IntRangeFieldValidator
  Field Validator that checks if the integer specified is within a certain range.
  LongRangeFieldValidator
  Field Validator that checks if the long specified is within a certain range.
  RangeValidatorSupport<T extends Comparable>
  Base class for range based validators.
  RegexFieldValidator
  Validates a string field using a regular expression.
  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".
  RequiredFieldValidator
  RequiredFieldValidator checks if the specified field is not null.
  RequiredStringValidator
  RequiredStringValidator checks that a String field is non-null and has a length > 0.
  ShortRangeFieldValidator
  Field Validator that checks if the short specified is within a certain range.
  StringLengthFieldValidator
  StringLengthFieldValidator checks that a String field is of a certain length.
  URLValidator
  URLValidator checks that a given field is a String and a valid URL
  ValidatorSupport
  Abstract implementation of the Validator interface suitable for subclassing.
  VisitorFieldValidator
  VisitorFieldValidator.AppendingValidatorContext