Package com.opensymphony.xwork.validator.annotations

Enum Summary
ValidatorType ValidatorType
 

Annotation Types Summary
ConversionErrorFieldValidator This validator checks if there are any conversion errors for a field and applies them if they exist.
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.
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.
StringLengthFieldValidator This validator checks that a String field is of the right length.
StringRegexValidator StringRegexValidator checks that a given String field, if not empty, matches the configured regular expression.
UrlValidator This validator checks that a field is a valid URL.
Validation If you want to use annotation based validation, you have to annotate the class or interface with Validation Annotation.
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.
 


XWork Project Page