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 classWrap 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 TypeInterfaceDescriptioninterfaceThe 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 ValidatorDefaultActionValidatorManager.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 TypeClassDescriptionclassThe ConditionalVisitorFieldValidator will forward validation to the VisitorFieldValidator only if the expression will evaluate to true.classField Validator that checks if a conversion error occurred for this field.classCreditCardFieldValidator checks that a given String/Array/Collection field, if not empty, is a valid credit card number.final classField Validator that checks if the date supplied is within a specific range.classField Validator that checks if the double specified is within a certain range.classEmailValidator checks that a given String field, if not empty, is a valid email address.classA Non-Field Level validator that validates based on regular expression supplied.classValidates a field using an OGNL expression.classBase class for field validators.final classField Validator that checks if the integer specified is within a certain range.final classField Validator that checks if the long specified is within a certain range.classRangeValidatorSupport<T extends Comparable>Base class for range based validators.classValidates a string field using a regular expression.classAn 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".classRequiredFieldValidator checks if the specified field is not null.classRequiredStringValidator checks that a String field is non-null and has a length > 0.final classField Validator that checks if the short specified is within a certain range.classStringLengthFieldValidator checks that a String field is of a certain length.classURLValidator checks that a given field is a String and a valid URLclassAbstract implementation of the Validator interface suitable for subclassing.class