| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Validator | |
|---|---|
| com.opensymphony.xwork2 | Main XWork interfaces and classes. | 
| com.opensymphony.xwork2.validator | XWork validation subsystem. | 
| com.opensymphony.xwork2.validator.validators | XWork default validator classes. | 
| Uses of Validator in com.opensymphony.xwork2 | 
|---|
| Methods in com.opensymphony.xwork2 that return Validator | |
|---|---|
 Validator | 
ObjectFactory.buildValidator(String className,
               Map params,
               Map extraContext)
Build a Validator of the given type and set the parameters on it  | 
| Uses of Validator in com.opensymphony.xwork2.validator | 
|---|
| Subinterfaces of Validator in com.opensymphony.xwork2.validator | |
|---|---|
 interface | 
FieldValidator
The FieldValidator interface defines the methods to be implemented by FieldValidators.  | 
| Methods in com.opensymphony.xwork2.validator that return Validator | |
|---|---|
 Validator | 
DefaultValidatorFactory.getValidator(ValidatorConfig cfg)
 | 
 Validator | 
ValidatorFactory.getValidator(ValidatorConfig cfg)
Get a Validator that matches the given configuration.  | 
| Methods in com.opensymphony.xwork2.validator that return types with arguments of type Validator | |
|---|---|
 List<Validator> | 
ActionValidatorManager.getValidators(Class clazz,
              String context)
Returns a list of validators for the given class and context.  | 
 List<Validator> | 
AnnotationActionValidatorManager.getValidators(Class clazz,
              String context)
 | 
 List<Validator> | 
DefaultActionValidatorManager.getValidators(Class clazz,
              String context)
 | 
 List<Validator> | 
ActionValidatorManager.getValidators(Class clazz,
              String context,
              String method)
Returns a list of validators for the given class, context, and method.  | 
 List<Validator> | 
AnnotationActionValidatorManager.getValidators(Class clazz,
              String context,
              String method)
 | 
 List<Validator> | 
DefaultActionValidatorManager.getValidators(Class clazz,
              String context,
              String method)
 | 
| Uses of Validator in com.opensymphony.xwork2.validator.validators | 
|---|
| Classes in com.opensymphony.xwork2.validator.validators that implement Validator | |
|---|---|
 class | 
AbstractRangeValidator
Base class for range based validators.  | 
 class | 
ConditionalVisitorFieldValidator
ConditionalVisitorFieldValidator
 <field name="colleaguePosition">
   <field-validator type="fieldexpression" short-circuit="true">
     reason == 'colleague' and colleaguePositionID == '_CHOOSE_'
     <message>You must choose a position where you worked with this person,
 or choose "Other..."</message>
   </field-validator>
   <field-validator type="conditionalvisitor">
     reason == 'colleague' and colleaguePositionID == 'OTHER'
     <message/>
   </field-validator>
 </field> | 
 class | 
ConversionErrorFieldValidator
Field Validator that checks if a conversion error occured for this field.  | 
 class | 
DateRangeFieldValidator
Field Validator that checks if the date supplied is within a specific range.  | 
 class | 
DoubleRangeFieldValidator
Field Validator that checks if the double specified is within a certain range.  | 
 class | 
EmailValidator
EmailValidator checks that a given String field, if not empty, is a valid email address.  | 
 class | 
ExpressionValidator
A Non-Field Level validator that validates based on regular expression supplied.  | 
 class | 
FieldExpressionValidator
Validates a field using an OGNL expression.  | 
 class | 
FieldValidatorSupport
Base class for field validators.  | 
 class | 
IntRangeFieldValidator
Field Validator that checks if the integer specified is within a certain range.  | 
 class | 
LongRangeFieldValidator
Field Validator that checks if the long specified is within a certain range.  | 
 class | 
RegexFieldValidator
Validates a string field using a regular expression.  | 
 class | 
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".  | 
 class | 
RequiredFieldValidator
RequiredFieldValidator checks if the specified field is not null.  | 
 class | 
RequiredStringValidator
RequiredStringValidator checks that a String field is non-null and has a length > 0.  | 
 class | 
ShortRangeFieldValidator
Field Validator that checks if the short specified is within a certain range.  | 
 class | 
StringLengthFieldValidator
StringLengthFieldValidator checks that a String field is of a certain length.  | 
 class | 
URLValidator
URLValidator checks that a given field is a String and a valid URL fieldName - The field name this validator is validating.  | 
 class | 
ValidatorSupport
Abstract implementation of the Validator interface suitable for subclassing.  | 
 class | 
VisitorFieldValidator
The VisitorFieldValidator allows you to forward validation to object properties of your action using the object's own validation files.  | 
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||