Package org.apache.struts2.validator.validators
package org.apache.struts2.validator.validators
XWork default validator classes.
-
ClassesClassDescriptionThe ConditionalVisitorFieldValidator will forward validation to the VisitorFieldValidator only if the expression will evaluate to true.Field Validator that checks if a conversion error occurred for this field.CreditCardFieldValidator checks that a given String/Array/Collection field, if not empty, is a valid credit card number.Field Validator that checks if the date supplied is within a specific range.Field Validator that checks if the double specified is within a certain range.EmailValidator checks that a given String field, if not empty, is a valid email address.A Non-Field Level validator that validates based on regular expression supplied.Validates a field using an OGNL expression.Base class for field validators.Field Validator that checks if the integer specified is within a certain range.Field Validator that checks if the long specified is within a certain range.RangeValidatorSupport<T extends Comparable>Base class for range based validators.Validates a string field using a regular expression.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 checks if the specified field is not null.RequiredStringValidator checks that a String field is non-null and has a length > 0.Field Validator that checks if the short specified is within a certain range.StringLengthFieldValidator checks that a String field is of a certain length.URLValidator checks that a given field is a String and a valid URLAbstract implementation of the Validator interface suitable for subclassing.