Uses of Interface
org.apache.struts2.validator.Validator
Packages that use Validator
Package
Description
Main XWork interfaces and classes.
XWork validation subsystem.
XWork default validator classes.
-
Uses of Validator in org.apache.struts2
Methods in org.apache.struts2 that return Validator -
Uses of Validator in org.apache.struts2.components
Classes in org.apache.struts2.components that implement ValidatorModifier and TypeClassDescriptionstatic class
Wrap field validator, add visitor's field prefix to the field name. -
Uses of Validator in org.apache.struts2.factory
Methods in org.apache.struts2.factory that return ValidatorModifier and TypeMethodDescriptionDefaultValidatorFactory.buildValidator
(String className, Map<String, Object> params, Map<String, Object> extraContext) ValidatorFactory.buildValidator
(String className, Map<String, Object> params, Map<String, Object> extraContext) Build a Validator of the given type and set the parameters on it -
Uses of Validator in org.apache.struts2.validator
Subinterfaces of Validator in org.apache.struts2.validatorModifier and TypeInterfaceDescriptioninterface
The FieldValidator interface defines the methods to be implemented by FieldValidators.Methods in org.apache.struts2.validator that return ValidatorModifier and TypeMethodDescriptionDefaultValidatorFactory.getValidator
(ValidatorConfig cfg) ValidatorFactory.getValidator
(ValidatorConfig cfg) Get a Validator that matches the given configuration.protected Validator
DefaultActionValidatorManager.getValidatorFromValidatorConfig
(ValidatorConfig config, ValueStack stack) Methods in org.apache.struts2.validator that return types with arguments of type ValidatorModifier and TypeMethodDescriptionActionValidatorManager.getValidators
(Class<?> clazz, String context) Returns a list of validators for the given class and context.ActionValidatorManager.getValidators
(Class<?> clazz, String context, String method) Returns a list of validators for the given class, context, and method.DefaultActionValidatorManager.getValidators
(Class<?> clazz, String context) DefaultActionValidatorManager.getValidators
(Class<?> clazz, String context, String method) -
Uses of Validator in org.apache.struts2.validator.validators
Classes in org.apache.struts2.validator.validators that implement ValidatorModifier and TypeClassDescriptionclass
The ConditionalVisitorFieldValidator will forward validation to the VisitorFieldValidator only if the expression will evaluate to true.class
Field Validator that checks if a conversion error occurred for this field.class
CreditCardFieldValidator checks that a given String/Array/Collection field, if not empty, is a valid credit card number.final class
Field Validator that checks if the date supplied is within a specific range.class
Field Validator that checks if the double specified is within a certain range.class
EmailValidator checks that a given String field, if not empty, is a valid email address.class
A Non-Field Level validator that validates based on regular expression supplied.class
Validates a field using an OGNL expression.class
Base class for field validators.final class
Field Validator that checks if the integer specified is within a certain range.final class
Field Validator that checks if the long specified is within a certain range.class
RangeValidatorSupport<T extends Comparable>
Base class for range based validators.class
Validates a string field using a regular expression.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".class
RequiredFieldValidator checks if the specified field is not null.class
RequiredStringValidator checks that a String field is non-null and has a length > 0.final class
Field Validator that checks if the short specified is within a certain range.class
StringLengthFieldValidator checks that a String field is of a certain length.class
URLValidator checks that a given field is a String and a valid URLclass
Abstract implementation of the Validator interface suitable for subclassing.class