com.opensymphony.xwork.validator.validators |
|
Java Source File Name | Type | Comment |
AbstractRangeValidator.java | Class | Base class for range based validators. |
CollectionFieldValidator.java | Class |
Validate a property available in the object of a collection. |
ConversionErrorFieldValidator.java | Class |
Field Validator that checks if a conversion error occured for this field.
- fieldName - The field name this validator is validating.
|
DateRangeFieldValidator.java | Class |
Field Validator that checks if the date supplied is within a specific range.
NOTE: If no date converter is specified, XWorkBasicConverter will kick
in to do the date conversion, which by default using the Date.SHORT format using
the locale specified in webwork.properties else falling back to the system
default locale.
- fieldName - The field name this validator is validating.
|
DoubleRangeFieldValidator.java | Class |
Field Validator that checks if the double specified is within a certain range.
- fieldName - The field name this validator is validating.
|
EmailValidator.java | Class |
EmailValidator checks that a given String field, if not empty,
is a valid email address.
The regular expression used to validate that the string is an email address
is:
\\b(^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@([A-Za-z0-9-])+((\\.com)|(\\.net)|(\\.org)|(\\.info)|(\\.edu)|(\\.mil)|(\\.gov)|(\\.biz)|(\\.ws)|(\\.us)|(\\.tv)|(\\.cc)|(\\.aero)|(\\.arpa)|(\\.coop)|(\\.int)|(\\.jobs)|(\\.museum)|(\\.name)|(\\.pro)|(\\.travel)|(\\.nato)|(\\..{2,3})|(\\..{2,3}\\..{2,3}))$)\\b
- fieldName - The field name this validator is validating.
|
ExpressionValidator.java | Class |
A Non-Field Level validator that validates based on regular expression supplied.
- expression - the Ognl expression to be evaluated against the stack (Must evaluate to a Boolean)
<validators>
<validator type="expression">
<param name="expression"> .... |
FieldExpressionValidator.java | Class |
Validates a field using an OGNL expression.
- fieldName - The field name this validator is validating.
|
FieldValidatorSupport.java | Class | Base class for field validators. |
IntRangeFieldValidator.java | Class |
Field Validator that checks if the integer specified is within a certain range.
- fieldName - The field name this validator is validating.
|
RegexFieldValidator.java | Class |
Validates a string field using a regular expression.
- fieldName - The field name this validator is validating.
|
RepopulateConversionErrorFieldValidatorSupport.java | Class | 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".
The capability of auto-repopulating the stack with a fake parameter map when
a conversion error has occurred can be done with 'repopulateField' property
set to "true". |
RequiredFieldValidator.java | Class |
RequiredFieldValidator checks if the specified field is not null. |
RequiredStringValidator.java | Class |
RequiredStringValidator checks that a String field is non-null and has a length > 0.
(i.e. |
StringLengthFieldValidator.java | Class |
StringLengthFieldValidator checks that a String field is of a certain length. |
URLValidator.java | Class |
URLValidator checks that a given field is a String and a valid URL
- fieldName - The field name this validator is validating.
|
ValidatorSupport.java | Class | Abstract implementation of the Validator interface suitable for subclassing. |
VisitorFieldValidator.java | Class |
The VisitorFieldValidator allows you to forward validation to object
properties of your action using the object's own validation files. |