- add(String, boolean) - Method in class org.apache.commons.validator.ValidatorResult
-
Add the result of a validator action.
- add(String, boolean, Object) - Method in class org.apache.commons.validator.ValidatorResult
-
Add the result of a validator action.
- add(Field, String, boolean) - Method in class org.apache.commons.validator.ValidatorResults
-
Add a the result of a validator action.
- add(Field, String, boolean, Object) - Method in class org.apache.commons.validator.ValidatorResults
-
Add a the result of a validator action.
- addAllowedCardType(CreditCardValidator.CreditCardType) - Method in class org.apache.commons.validator.CreditCardValidator
-
Add an allowed CreditCardType that participates in the card
validation algorithm.
- addArg(Arg) - Method in class org.apache.commons.validator.Field
-
Add an Arg to the replacement argument list.
- addArg0(Arg) - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use addArg(Arg) instead.
- addArg1(Arg) - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use addArg(Arg) instead.
- addArg2(Arg) - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use addArg(Arg) instead.
- addArg3(Arg) - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use addArg(Arg) instead.
- addConstant(Constant) - Method in class org.apache.commons.validator.FormSet
-
Deprecated.
Use addConstant(String, String) instead.
- addConstant(String, String) - Method in class org.apache.commons.validator.FormSet
-
Add a Constant to the locale level.
- addConstant(Constant) - Method in class org.apache.commons.validator.ValidatorResources
-
Deprecated.
Use addConstant(String, String) instead.
- addConstant(String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Add a global constant to the resource.
- addConstantParam(String, String) - Method in class org.apache.commons.validator.FormSet
-
Deprecated.
Use addConstant(String, String) instead.
- addConstantParam(String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Deprecated.
Use addConstant(String, String) instead.
- addField(Field) - Method in class org.apache.commons.validator.Form
-
Add a Field to the Form.
- addForm(Form) - Method in class org.apache.commons.validator.FormSet
-
Add a Form to the FormSet.
- addFormSet(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
-
Add a FormSet to this ValidatorResources
object.
- addMsg(Msg) - Method in class org.apache.commons.validator.Field
-
Add a Msg to the Field.
- addResource(String, Object) - Method in class org.apache.commons.validator.Validator
-
Deprecated.
Use setParameter(String, Object) instead.
- addValidatorAction(ValidatorAction) - Method in class org.apache.commons.validator.ValidatorResources
-
Add a ValidatorAction to the resource.
- addVar(Var) - Method in class org.apache.commons.validator.Field
-
Add a Var to the Field.
- addVar(String, String, String) - Method in class org.apache.commons.validator.Field
-
Add a Var, based on the values passed in, to the
Field.
- addVarParam(String, String, String) - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use addVar(String, String, String) instead.
- ALLOW_2_SLASHES - Static variable in class org.apache.commons.validator.UrlValidator
-
Allow two slashes in the path component of the URL.
- ALLOW_ALL_SCHEMES - Static variable in class org.apache.commons.validator.UrlValidator
-
Allows all validly formatted schemes to pass validation instead of supplying a
set of valid schemes.
- allowedSchemes - Variable in class org.apache.commons.validator.UrlValidator
-
The set of schemes that are allowed to be in a URL.
- ALPHA_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- ALPHA_NUMERIC_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- ALPHA_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- AMEX - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Option specifying that American Express cards are allowed.
- Arg - Class in org.apache.commons.validator
-
A default argument or an argument for a
specific validator definition (ex: required)
can be stored to pass into a message as parameters.
- Arg() - Constructor for class org.apache.commons.validator.Arg
-
- ARG_DEFAULT - Static variable in class org.apache.commons.validator.Field
-
Deprecated.
- args - Variable in class org.apache.commons.validator.Field
-
Holds Maps of arguments.
- ATOM - Static variable in class org.apache.commons.validator.EmailValidator
-
- ATOM - Static variable in class org.apache.commons.validator.UrlValidator
-
- ATOM_PATTERN - Static variable in class org.apache.commons.validator.EmailValidator
-
- ATOM_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- AUTHORITY_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- AUTHORITY_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- cardTypes - Variable in class org.apache.commons.validator.CreditCardValidator
-
The CreditCardTypes that are allowed to pass validation.
- classLoader - Variable in class org.apache.commons.validator.Validator
-
The class loader to use for instantiating application objects.
- classname - Variable in class org.apache.commons.validator.ValidatorAction
-
The full class name of the class containing
the validation method associated with this action.
- clear() - Method in class org.apache.commons.validator.util.Flags
-
Turn off all flags.
- clear() - Method in class org.apache.commons.validator.Validator
-
Clears the form name, resources that were added, and the page that was
set (if any).
- clear() - Method in class org.apache.commons.validator.ValidatorResults
-
Clear all results recorded by this object.
- clone() - Method in class org.apache.commons.validator.Arg
-
Creates and returns a copy of this object.
- clone() - Method in class org.apache.commons.validator.Field
-
Creates and returns a copy of this object.
- clone() - Method in class org.apache.commons.validator.Msg
-
Creates and returns a copy of this object.
- clone() - Method in class org.apache.commons.validator.util.Flags
-
Clone this Flags object.
- clone() - Method in class org.apache.commons.validator.Var
-
Creates and returns a copy of this object.
- Constant - Class in org.apache.commons.validator
-
Deprecated.
This class is no longer needed.
- Constant() - Constructor for class org.apache.commons.validator.Constant
-
Deprecated.
- constants - Variable in class org.apache.commons.validator.FormSet
-
A Map of Constants
using the name field of the Constant as the key.
- containsAction(String) - Method in class org.apache.commons.validator.ValidatorResult
-
- containsField(String) - Method in class org.apache.commons.validator.Form
-
Returns true if this Form contains a Field with the given name.
- copyFastHashMap(FastHashMap) - Static method in class org.apache.commons.validator.util.ValidatorUtils
-
Makes a deep copy of a FastHashMap if the values
are Msg, Arg,
or Var.
- copyFastHashMap(FastHashMap) - Static method in class org.apache.commons.validator.ValidatorUtil
-
Deprecated.
Makes a deep copy of a FastHashMap if the values
are String, Msg, Arg,
or Var.
- country - Variable in class org.apache.commons.validator.FormSet
-
Country component of Locale (optional).
- countToken(String, String) - Method in class org.apache.commons.validator.UrlValidator
-
Returns the number of times the token appears in the target.
- CreditCardValidator - Class in org.apache.commons.validator
-
Perform credit card validations.
- CreditCardValidator() - Constructor for class org.apache.commons.validator.CreditCardValidator
-
Create a new CreditCardValidator with default options.
- CreditCardValidator(int) - Constructor for class org.apache.commons.validator.CreditCardValidator
-
Create a new CreditCardValidator with the specified options.
- creditCardValidator - Static variable in class org.apache.commons.validator.GenericValidator
-
CreditCardValidator used in wrapper method.
- CreditCardValidator.Amex - Class in org.apache.commons.validator
-
- CreditCardValidator.Amex() - Constructor for class org.apache.commons.validator.CreditCardValidator.Amex
-
- CreditCardValidator.CreditCardType - Interface in org.apache.commons.validator
-
CreditCardType implementations define how validation is performed
for one type/brand of credit card.
- CreditCardValidator.Discover - Class in org.apache.commons.validator
-
- CreditCardValidator.Discover() - Constructor for class org.apache.commons.validator.CreditCardValidator.Discover
-
- CreditCardValidator.Mastercard - Class in org.apache.commons.validator
-
- CreditCardValidator.Mastercard() - Constructor for class org.apache.commons.validator.CreditCardValidator.Mastercard
-
- CreditCardValidator.Visa - Class in org.apache.commons.validator
-
- CreditCardValidator.Visa() - Constructor for class org.apache.commons.validator.CreditCardValidator.Visa
-
- Field - Class in org.apache.commons.validator
-
This contains the list of pluggable validators to run on a field and any
message information and variables to perform the validations and generate
error messages.
- Field() - Constructor for class org.apache.commons.validator.Field
-
- field - Variable in class org.apache.commons.validator.ValidatorResult
-
Field being validated.
- FIELD_KEY - Static variable in class org.apache.commons.validator.Validator
-
Deprecated.
Use FIELD_PARAM instead.
- FIELD_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the Field is stored under.
- fieldOrder - Variable in class org.apache.commons.validator.Field
-
- Flags - Class in org.apache.commons.validator.util
-
Represents a collection of 64 boolean (on/off) flags.
- Flags() - Constructor for class org.apache.commons.validator.util.Flags
-
Create a new Flags object.
- Flags(long) - Constructor for class org.apache.commons.validator.util.Flags
-
Initialize a new Flags object with the given flags.
- flags - Variable in class org.apache.commons.validator.util.Flags
-
Represents the current flag state.
- Form - Class in org.apache.commons.validator
-
This contains a set of validation rules for a form/JavaBean.
- Form() - Constructor for class org.apache.commons.validator.Form
-
- formatByte(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a byte primitive.
- formatCreditCard(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the field is a valid credit card number.
- formatDate(String, Locale) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the field is a valid date.
- formatDate(String, String, boolean) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the field is a valid date.
- formatDouble(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a double primitive.
- formatFloat(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a float primitive.
- formatInt(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a int primitive.
- formatJavascriptFileName() - Method in class org.apache.commons.validator.ValidatorAction
-
- formatLong(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a long primitive.
- formatShort(String) - Static method in class org.apache.commons.validator.GenericTypeValidator
-
Checks if the value can safely be converted to a short primitive.
- formName - Variable in class org.apache.commons.validator.Validator
-
- forms - Variable in class org.apache.commons.validator.FormSet
-
A Map of Forms
using the name field of the Form as the key.
- FormSet - Class in org.apache.commons.validator
-
Holds a set of Forms stored associated with a
Locale based on the country, language, and variant specified.
- FormSet() - Constructor for class org.apache.commons.validator.FormSet
-
- generateJsFunction() - Method in class org.apache.commons.validator.ValidatorAction
-
Used to generate the javascript name when it is not specified.
- generateKey() - Method in class org.apache.commons.validator.Field
-
Generate correct key value.
- GenericTypeValidator - Class in org.apache.commons.validator
-
This class contains basic methods for performing validations that return the
correctly typed class based on the validation performed.
- GenericTypeValidator() - Constructor for class org.apache.commons.validator.GenericTypeValidator
-
- GenericValidator - Class in org.apache.commons.validator
-
This class contains basic methods for performing validations.
- GenericValidator() - Constructor for class org.apache.commons.validator.GenericValidator
-
- get(Locale, Object) - Method in class org.apache.commons.validator.ValidatorResources
-
Deprecated.
Use getForm() instead.
- get(String, String, String, Object) - Method in class org.apache.commons.validator.ValidatorResources
-
Deprecated.
Use getForm() instead.
- get() - Method in class org.apache.commons.validator.ValidatorResults
-
Deprecated.
Use getPropertyNames() instead.
- getActionMap() - Method in class org.apache.commons.validator.ValidatorResult
-
- getArg(int) - Method in class org.apache.commons.validator.Field
-
Gets the default Arg object at the given position.
- getArg(String, int) - Method in class org.apache.commons.validator.Field
-
Gets the Arg object at the given position.
- getArg0() - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use getArg(0) instead.
- getArg0(String) - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use getArg(String, 0) instead.
- getArg1() - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use getArg(1) instead.
- getArg1(String) - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use getArg(String, 1) instead.
- getArg2() - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use getArg(2) instead.
- getArg2(String) - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use getArg(String, 2) instead.
- getArg3() - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use getArg(3) instead.
- getArg3(String) - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use getArg(String, 3) instead.
- getArgs(String) - Method in class org.apache.commons.validator.Field
-
Retrieves the Args for the given validator name.
- getBundle() - Method in class org.apache.commons.validator.Arg
-
Returns the resource bundle name.
- getBundle() - Method in class org.apache.commons.validator.Msg
-
Returns the resource bundle name.
- getClassLoader() - Method in class org.apache.commons.validator.Validator
-
Return the class loader to be used for instantiating application objects
when required.
- getClassLoader(Map) - Method in class org.apache.commons.validator.ValidatorAction
-
Returns the ClassLoader set in the Validator contained in the parameter
Map.
- getClassname() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the class of the validator action.
- getClassnameInstance() - Method in class org.apache.commons.validator.ValidatorAction
-
Deprecated.
This will be removed after Validator 1.1.2
- getClosestLocaleField(FormSet, String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Retrieves the closest matching Field based
on FormSet's locale.
- getCountry() - Method in class org.apache.commons.validator.FormSet
-
Gets the equivalent of the country component of Locale.
- getDelimitedRegExp(String) - Static method in class org.apache.commons.validator.ValidatorUtil
-
Deprecated.
Use "/" directly.
- getDelimittedRegexp(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Deprecated.
use ValidatorUtils.getDelimitedRegExp() instead.
- getDependencies() - Method in class org.apache.commons.validator.Field
-
Deprecated.
Use getDependencyList() instead.
- getDependencies() - Method in class org.apache.commons.validator.ValidatorAction
-
Deprecated.
Use getDependencyList() instead.
- getDependencyList() - Method in class org.apache.commons.validator.Field
-
Gets an unmodifiable List of the dependencies in the same
order they were defined in parameter passed to the setDepends() method.
- getDependencyList() - Method in class org.apache.commons.validator.ValidatorAction
-
Returns the dependent validator names as an unmodifiable
List.
- getDepends() - Method in class org.apache.commons.validator.Field
-
Gets the validation rules for this field as a comma separated list.
- getDepends() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the dependencies of the validator action as a comma separated list
of validator names.
- getField(String) - Method in class org.apache.commons.validator.Form
-
Returns the Field with the given name or null if this Form has no such
field.
- getField() - Method in class org.apache.commons.validator.ValidatorResult
-
Returns the Field that was validated.
- getFieldMap() - Method in class org.apache.commons.validator.Form
-
Deprecated.
Use containsField(String) and getField(String) instead.
- getFieldOrder() - Method in class org.apache.commons.validator.Field
-
Gets the position of the Field in the validation list.
- getFields() - Method in class org.apache.commons.validator.Form
-
A List of Fields is returned as an
unmodifiable List.
- getFlags() - Method in class org.apache.commons.validator.util.Flags
-
Returns the current flags.
- getForm(Object) - Method in class org.apache.commons.validator.FormSet
-
Deprecated.
Use getForm(String) instead.
- getForm(String) - Method in class org.apache.commons.validator.FormSet
-
Retrieve a Form based on the form name.
- getForm(Locale, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Gets a Form based on the name of the form and the
Locale that most closely matches the Locale
passed in.
- getForm(String, String, String, String) - Method in class org.apache.commons.validator.ValidatorResources
-
Gets a Form based on the name of the form and the
Locale that most closely matches the Locale
passed in.
- getFormName() - Method in class org.apache.commons.validator.Validator
-
Gets the form name which is the key to a set of validation rules.
- getForms() - Method in class org.apache.commons.validator.FormSet
-
A Map of Forms is returned as an
unmodifiable Map with the key based on the form name.
- getIndexedListProperty() - Method in class org.apache.commons.validator.Field
-
Gets the indexed property name of the field.
- getIndexedProperty() - Method in class org.apache.commons.validator.Field
-
Gets the indexed property name of the field.
- getIndexedProperty(Object) - Method in class org.apache.commons.validator.Field
-
Returns an indexed property from the object we're validating.
- getInstance() - Static method in class org.apache.commons.validator.DateValidator
-
Returns the Singleton instance of this validator.
- getInstance() - Static method in class org.apache.commons.validator.EmailValidator
-
Returns the Singleton instance of this validator.
- getJavascript() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the Javascript equivalent of the java class and method
associated with this action.
- getJsFunctionName() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the Javascript function name.
- getJsType() - Method in class org.apache.commons.validator.Var
-
Gets the JavaScript type of the variable.
- getKey() - Method in class org.apache.commons.validator.Arg
-
Gets the key/value.
- getKey() - Method in class org.apache.commons.validator.Field
-
Gets a unique key based on the property and indexedProperty fields.
- getKey() - Method in class org.apache.commons.validator.Msg
-
Gets the key/value.
- getLanguage() - Method in class org.apache.commons.validator.FormSet
-
Gets the equivalent of the language component of Locale.
- getMessage(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a message object.
- getMessages() - Method in class org.apache.commons.validator.Field
-
The Field's messages are returned as an
unmodifiable Map.
- getMethod() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the name of method being called for the validator action.
- getMethodParams() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the method parameters for the method.
- getMethodParamsList() - Method in class org.apache.commons.validator.ValidatorAction
-
Deprecated.
This will be removed after Validator 1.1.2
- getMsg(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a message value.
- getMsg() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the message associated with the validator action.
- getName() - Method in class org.apache.commons.validator.Arg
-
Gets the name of the dependency.
- getName() - Method in class org.apache.commons.validator.Constant
-
Deprecated.
Gets the name of the constant.
- getName() - Method in class org.apache.commons.validator.Form
-
Gets the name/key of the set of validation rules.
- getName() - Method in class org.apache.commons.validator.Msg
-
Gets the name of the dependency.
- getName() - Method in class org.apache.commons.validator.ValidatorAction
-
Gets the name of the validator action.
- getName() - Method in class org.apache.commons.validator.Var
-
Gets the name of the variable.
- getOnlyReturnErrors() - Method in class org.apache.commons.validator.Validator
-
Returns true if the Validator is only returning Fields that fail validation.
- getPage() - Method in class org.apache.commons.validator.Field
-
Gets the page value that the Field is associated with for
validation.
- getPage() - Method in class org.apache.commons.validator.Validator
-
Gets the page.
- getParameterValue(String) - Method in class org.apache.commons.validator.Validator
-
Returns the value of the specified parameter that will be used during the
processing of validations.
- getParameterValues(Map) - Method in class org.apache.commons.validator.ValidatorAction
-
Converts a List of parameter class names into their values contained in
the parameters Map.
- getPosition() - Method in class org.apache.commons.validator.Arg
-
Argument's replacement position.
- getProperty() - Method in class org.apache.commons.validator.Field
-
Gets the property name of the field.
- getPropertyNames() - Method in class org.apache.commons.validator.ValidatorResults
-
Return the set of property names for which at least one message has
been recorded.
- getResource() - Method in class org.apache.commons.validator.Arg
-
Deprecated.
Use isResource() instead.
- getResource(String) - Method in class org.apache.commons.validator.Validator
-
Deprecated.
Use getParameterValue(String) instead.
- getResult() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Gets the result returned by a validation method.
- getResultValueMap() - Method in class org.apache.commons.validator.ValidatorResults
-
Get a Map of any Objects returned from
validation routines.
- getUseContextClassLoader() - Method in class org.apache.commons.validator.Validator
-
Return the boolean as to whether the context classloader should be used.
- getValid() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Deprecated.
Use isValid() instead.
- getValidationClassInstance() - Method in class org.apache.commons.validator.ValidatorAction
-
Return an instance of the validation class or null if the validation
method is static so does not require an instance to be executed.
- getValidatorAction(String) - Method in class org.apache.commons.validator.ValidatorResources
-
Get a ValidatorAction based on it's name.
- getValidatorActions() - Method in class org.apache.commons.validator.ValidatorResources
-
Get an unmodifiable Map of the ValidatorActions.
- getValidatorResult(String) - Method in class org.apache.commons.validator.ValidatorResults
-
Gets the ValidatorResult associated
with the key passed in.
- getValue() - Method in class org.apache.commons.validator.Constant
-
Deprecated.
Gets the value of the constant.
- getValue() - Method in class org.apache.commons.validator.Var
-
Gets the value of the variable.
- getValueAsString(Object, String) - Static method in class org.apache.commons.validator.util.ValidatorUtils
-
Convenience method for getting a value from a bean property as a
String.
- getValueAsString(Object, String) - Static method in class org.apache.commons.validator.ValidatorUtil
-
Deprecated.
Convenience method for getting a value from a bean property as a
String.
- getVar(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a variable.
- getVariant() - Method in class org.apache.commons.validator.FormSet
-
Gets the equivalent of the variant component of Locale.
- getVars() - Method in class org.apache.commons.validator.Field
-
The Field's variables are returned as an
unmodifiable Map.
- getVarValue(String) - Method in class org.apache.commons.validator.Field
-
Retrieve a variable's value.
- indexedListProperty - Variable in class org.apache.commons.validator.Field
-
- indexedProperty - Variable in class org.apache.commons.validator.Field
-
- init() - Method in class org.apache.commons.validator.ValidatorAction
-
Initialize based on set.
- initialize(String) - Static method in class org.apache.commons.validator.ValidatorResourcesInitializer
-
Deprecated.
Initializes a ValidatorResources based on a
file path and automatically process the resources.
- initialize(InputStream) - Static method in class org.apache.commons.validator.ValidatorResourcesInitializer
-
Deprecated.
Initializes a ValidatorResources based on the
InputStream and automatically process the resources.
- initialize(ValidatorResources, InputStream) - Static method in class org.apache.commons.validator.ValidatorResourcesInitializer
-
Deprecated.
Initializes the ValidatorResources based on the InputStream
and automatically process the resources.
- initialize(ValidatorResources, InputStream, boolean) - Static method in class org.apache.commons.validator.ValidatorResourcesInitializer
-
Deprecated.
Initializes a ValidatorResources based on the InputStream
and processes the resources based on the boolean passed in.
- instance - Static variable in class org.apache.commons.validator.DateValidator
-
Singleton instance of this class.
- instance - Static variable in class org.apache.commons.validator.EmailValidator
-
Singleton instance of this class.
- instance - Variable in class org.apache.commons.validator.ValidatorAction
-
If the java method matching the correct signature isn't static, the
instance is stored in the action.
- internalProcessForms() - Method in class org.apache.commons.validator.ValidatorResources
-
Process the Form objects.
- internalProcessMessageComponents(String, String) - Method in class org.apache.commons.validator.Field
-
Replace the args key value with the key/value pairs passed in.
- IP_DOMAIN_PATTERN - Static variable in class org.apache.commons.validator.EmailValidator
-
- IP_V4_DOMAIN_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
- isBlankOrNull(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the field isn't null and length of the field is greater than zero not
including whitespace.
- isByte(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a byte primitive.
- isCreditCard(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the field is a valid credit card number.
- isDate(String, Locale) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the field is a valid date.
- isDate(String, String, boolean) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the field is a valid date.
- isDependency(String) - Method in class org.apache.commons.validator.Field
-
Checks if the validator is listed as a dependency.
- isDependency(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Checks whether or not the value passed in is in the depends field.
- isDouble(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a double primitive.
- isEmail(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a field has a valid e-mail address.
- isEmpty() - Method in class org.apache.commons.validator.ValidatorResults
-
Return true if there are no messages recorded
in this collection, or false otherwise.
- isFloat(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a float primitive.
- isIndexed() - Method in class org.apache.commons.validator.Field
-
If there is a value specified for the indexedProperty field then
true will be returned.
- isInRange(byte, byte, byte) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(int, int, int) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(float, float, float) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(short, short, short) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(long, long, long) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInRange(double, double, double) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a value is within a range (min & max specified
in the vars attribute).
- isInt(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a int primitive.
- isLong(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a long primitive.
- isOff(long) - Method in class org.apache.commons.validator.util.Flags
-
Tests whether the given flag is off.
- isOn(long) - Method in class org.apache.commons.validator.util.Flags
-
Tests whether the given flag is on.
- isProcessed() - Method in class org.apache.commons.validator.FormSet
-
Whether or not the this FormSet was processed
for replacing variables in strings with their values.
- isResource() - Method in class org.apache.commons.validator.Arg
-
Tests whether or not the key is a resource key or literal value.
- isResource() - Method in class org.apache.commons.validator.Msg
-
Tests whether or not the key is a resource key or literal value.
- isShort(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if the value can safely be converted to a short primitive.
- isUrl(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Checks if a field is a valid url address.
- isValid(String) - Method in class org.apache.commons.validator.CreditCardValidator
-
Checks if the field is a valid credit card number.
- isValid(String, String, boolean) - Method in class org.apache.commons.validator.DateValidator
-
Checks if the field is a valid date.
- isValid(String, Locale) - Method in class org.apache.commons.validator.DateValidator
-
Checks if the field is a valid date.
- isValid(String) - Method in class org.apache.commons.validator.EmailValidator
-
Checks if a field has a valid e-mail address.
- isValid(String) - Method in class org.apache.commons.validator.UrlValidator
-
Checks if a field has a valid url address.
- isValid(Object) - Method in class org.apache.commons.validator.ValidatorAction
-
If the result object is a Boolean, it will return its
value.
- isValid(String) - Method in class org.apache.commons.validator.ValidatorResult
-
- isValid() - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Tests whether or not the validation passed.
- isValidAuthority(String) - Method in class org.apache.commons.validator.UrlValidator
-
Returns true if the authority is properly formatted.
- isValidDomain(String) - Method in class org.apache.commons.validator.EmailValidator
-
Returns true if the domain component of an email address is valid.
- isValidFragment(String) - Method in class org.apache.commons.validator.UrlValidator
-
Returns true if the given fragment is null or fragments are allowed.
- isValidIpAddress(Perl5Util) - Method in class org.apache.commons.validator.EmailValidator
-
Validates an IP address.
- isValidPath(String) - Method in class org.apache.commons.validator.UrlValidator
-
Returns true if the path is valid.
- isValidPrefix(String) - Method in class org.apache.commons.validator.CreditCardValidator
-
Deprecated.
This will be removed in a future release.
- isValidQuery(String) - Method in class org.apache.commons.validator.UrlValidator
-
Returns true if the query is null or it's a properly formatted query string.
- isValidScheme(String) - Method in class org.apache.commons.validator.UrlValidator
-
Validate scheme.
- isValidSymbolicDomain(String) - Method in class org.apache.commons.validator.EmailValidator
-
Validates a symbolic domain name.
- isValidUser(String) - Method in class org.apache.commons.validator.EmailValidator
-
Returns true if the user component of an email address is valid.
- SCHEME_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- SCHEME_PATTERN - Static variable in class org.apache.commons.validator.UrlValidator
-
Protocol (ie.
- setBundle(String) - Method in class org.apache.commons.validator.Arg
-
Sets the resource bundle name.
- setBundle(String) - Method in class org.apache.commons.validator.Msg
-
Sets the resource bundle name.
- setClassLoader(ClassLoader) - Method in class org.apache.commons.validator.Validator
-
Set the class loader to be used for instantiating application objects
when required.
- setClassname(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the class of the validator action.
- setClassnameInstance(Object) - Method in class org.apache.commons.validator.ValidatorAction
-
Deprecated.
This will be removed after Validator 1.1.2
- setCountry(String) - Method in class org.apache.commons.validator.FormSet
-
Sets the equivalent of the country component of Locale.
- setDepends(String) - Method in class org.apache.commons.validator.Field
-
Sets the validation rules for this field as a comma separated list.
- setDepends(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the dependencies of the validator action.
- setFieldOrder(int) - Method in class org.apache.commons.validator.Field
-
Sets the position of the Field in the validation list.
- setFormName(String) - Method in class org.apache.commons.validator.Validator
-
Sets the form name which is the key to a set of validation rules.
- setIndexedListProperty(String) - Method in class org.apache.commons.validator.Field
-
Sets the indexed property name of the field.
- setIndexedProperty(String) - Method in class org.apache.commons.validator.Field
-
Sets the indexed property name of the field.
- setJavascript(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the Javascript equivalent of the java class and method
associated with this action.
- setJsFunction(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the fully qualified class path of the Javascript function.
- setJsFunctionName(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the Javascript function name.
- setJsType(String) - Method in class org.apache.commons.validator.Var
-
Sets the JavaScript type of the variable.
- setKey(String) - Method in class org.apache.commons.validator.Arg
-
Sets the key/value.
- setKey(String) - Method in class org.apache.commons.validator.Field
-
Sets a unique key for the field.
- setKey(String) - Method in class org.apache.commons.validator.Msg
-
Sets the key/value.
- setLanguage(String) - Method in class org.apache.commons.validator.FormSet
-
Sets the equivalent of the language component of Locale.
- setMethod(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the name of method being called for the validator action.
- setMethodParams(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the method parameters for the method.
- setMsg(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the message associated with the validator action.
- setName(String) - Method in class org.apache.commons.validator.Arg
-
Sets the name of the dependency.
- setName(String) - Method in class org.apache.commons.validator.Constant
-
Deprecated.
Sets the name of the constant.
- setName(String) - Method in class org.apache.commons.validator.Form
-
Sets the name/key of the set of validation rules.
- setName(String) - Method in class org.apache.commons.validator.Msg
-
Sets the name of the dependency.
- setName(String) - Method in class org.apache.commons.validator.ValidatorAction
-
Sets the name of the validator action.
- setName(String) - Method in class org.apache.commons.validator.Var
-
Sets the name of the variable.
- setOnlyReturnErrors(boolean) - Method in class org.apache.commons.validator.Validator
-
Configures which Fields the Validator returns from the validate() method.
- setPage(int) - Method in class org.apache.commons.validator.Field
-
Sets the page value that the Field is associated with for
validation.
- setPage(int) - Method in class org.apache.commons.validator.Validator
-
Sets the page.
- setParameter(String, Object) - Method in class org.apache.commons.validator.Validator
-
Set a parameter of a pluggable validation method.
- setPosition(int) - Method in class org.apache.commons.validator.Arg
-
Set this argument's replacement position.
- setProperty(String) - Method in class org.apache.commons.validator.Field
-
Sets the property name of the field.
- setResource(boolean) - Method in class org.apache.commons.validator.Arg
-
Sets whether or not the key is a resource.
- setResource(boolean) - Method in class org.apache.commons.validator.Msg
-
Sets whether or not the key is a resource.
- setResult(Object) - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Sets the result returned by a validation method.
- setUseContextClassLoader(boolean) - Method in class org.apache.commons.validator.Validator
-
Determine whether to use the Context ClassLoader (the one found by
calling Thread.currentThread().getContextClassLoader())
to resolve/load classes that are defined in various rules.
- setValid(boolean) - Method in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
Sets whether or not the validation passed.
- setValue(String) - Method in class org.apache.commons.validator.Constant
-
Deprecated.
Sets the value of the constant.
- setValue(String) - Method in class org.apache.commons.validator.Var
-
Sets the value of the variable.
- setVariant(String) - Method in class org.apache.commons.validator.FormSet
-
Sets the equivalent of the variant component of Locale.
- SPECIAL_CHARS - Static variable in class org.apache.commons.validator.EmailValidator
-
- SPECIAL_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- valid - Variable in class org.apache.commons.validator.ValidatorResult.ResultStatus
-
- VALID_CHARS - Static variable in class org.apache.commons.validator.EmailValidator
-
- VALID_CHARS - Static variable in class org.apache.commons.validator.UrlValidator
-
- validate(Map, Map) - Method in class org.apache.commons.validator.Field
-
Run the configured validations on this field.
- validate(Map, Map, int) - Method in class org.apache.commons.validator.Form
-
Validate all Fields in this Form on the given page and below.
- validate() - Method in class org.apache.commons.validator.Validator
-
Performs validations based on the configured resources.
- validateCreditCardLuhnCheck(String) - Static method in class org.apache.commons.validator.GenericValidator
-
Deprecated.
This functionality has moved to CreditCardValidator.
- validateCreditCardPrefixCheck(String) - Method in class org.apache.commons.validator.GenericValidator
-
Deprecated.
This functionality has move to CreditCardValidator.
- validateForRule(ValidatorAction, ValidatorResults, Map, Map, int) - Method in class org.apache.commons.validator.Field
-
Executes the given ValidatorAction and all ValidatorActions that it
depends on.
- validationClass - Variable in class org.apache.commons.validator.ValidatorAction
-
The Class object loaded from the classname.
- validationMethod - Variable in class org.apache.commons.validator.ValidatorAction
-
The Method object loaded from the method name.
- Validator - Class in org.apache.commons.validator
-
Validations are processed by the validate method.
- Validator(ValidatorResources) - Constructor for class org.apache.commons.validator.Validator
-
Construct a Validator that will
use the ValidatorResources
passed in to retrieve pluggable validators
the different sets of validation rules.
- Validator(ValidatorResources, String) - Constructor for class org.apache.commons.validator.Validator
-
Construct a Validator that will
use the ValidatorResources
passed in to retrieve pluggable validators
the different sets of validation rules.
- VALIDATOR_ACTION_KEY - Static variable in class org.apache.commons.validator.Validator
-
Deprecated.
Use VALIDATOR_ACTION_PARAM instead.
- VALIDATOR_ACTION_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the ValidatorAction is stored under.
- VALIDATOR_KEY - Static variable in class org.apache.commons.validator.Validator
-
Deprecated.
Use VALIDATOR_PARAM instead.
- VALIDATOR_PARAM - Static variable in class org.apache.commons.validator.Validator
-
Resources key the Validator is stored under.
- ValidatorAction - Class in org.apache.commons.validator
-
Contains the information to dynamically create and run a validation
method.
- ValidatorAction() - Constructor for class org.apache.commons.validator.ValidatorAction
-
- ValidatorException - Exception in org.apache.commons.validator
-
The base exception for the Validator Framework.
- ValidatorException() - Constructor for exception org.apache.commons.validator.ValidatorException
-
Constructs an Exception with no specified detail message.
- ValidatorException(String) - Constructor for exception org.apache.commons.validator.ValidatorException
-
Constructs an Exception with the specified detail message.
- ValidatorResources - Class in org.apache.commons.validator
-
General purpose class for storing FormSet objects based
on their associated Locale.
- ValidatorResources() - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create an empty ValidatorResources object.
- ValidatorResources(InputStream) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from an InputStream.
- ValidatorResources(InputStream[]) - Constructor for class org.apache.commons.validator.ValidatorResources
-
Create a ValidatorResources object from an InputStream.
- ValidatorResourcesInitializer - Class in org.apache.commons.validator
-
Deprecated.
ValidatorResources knows how to initialize itself now.
- ValidatorResourcesInitializer() - Constructor for class org.apache.commons.validator.ValidatorResourcesInitializer
-
Deprecated.
- ValidatorResult - Class in org.apache.commons.validator
-
This contains the results of a set of validation rules processed
on a JavaBean.
- ValidatorResult(Field) - Constructor for class org.apache.commons.validator.ValidatorResult
-
Constructs a ValidatorResult with the associated field being
validated.
- ValidatorResult.ResultStatus - Class in org.apache.commons.validator
-
Contains the status of the validation.
- ValidatorResult.ResultStatus(boolean, Object) - Constructor for class org.apache.commons.validator.ValidatorResult.ResultStatus
-
- ValidatorResults - Class in org.apache.commons.validator
-
This contains the results of a set of validation rules processed
on a JavaBean.
- ValidatorResults() - Constructor for class org.apache.commons.validator.ValidatorResults
-
- ValidatorUtil - Class in org.apache.commons.validator
-
Deprecated.
This class has moved to the org.apache.commons.validator.util
package.
- ValidatorUtil() - Constructor for class org.apache.commons.validator.ValidatorUtil
-
Deprecated.
- ValidatorUtils - Class in org.apache.commons.validator.util
-
Basic utility methods.
- ValidatorUtils() - Constructor for class org.apache.commons.validator.util.ValidatorUtils
-
- value - Variable in class org.apache.commons.validator.Constant
-
Deprecated.
The name of the constant.
- value - Variable in class org.apache.commons.validator.Var
-
The name of the value.
- Var - Class in org.apache.commons.validator
-
A variable that can be associated with a Field for
passing in information to a pluggable validator.
- Var() - Constructor for class org.apache.commons.validator.Var
-
- Var(String, String, String) - Constructor for class org.apache.commons.validator.Var
-
- variant - Variable in class org.apache.commons.validator.FormSet
-
Variant component of Locale (optional).
- VISA - Static variable in class org.apache.commons.validator.CreditCardValidator
-
Option specifying that Visa cards are allowed.