Package com.opensymphony.xwork2.validator.annotations

Validator annotations.

See:
          Description

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. non-null with a length > 0)
StringLengthFieldValidator This validator checks that a String field is of the right length.
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 If you want to use several annotations of the same type, these annotation must be nested within the @Validations() annotation.
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-2008 Apache Software Foundation. All Rights Reserved.