A B C D E F G H I J K L M N O P R S T U V

A

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.
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.
addArg0(Arg) - Method in class org.apache.commons.validator.Field
Add a Arg to the arg0 list.
addArg1(Arg) - Method in class org.apache.commons.validator.Field
Add a Arg to the arg1 list.
addArg2(Arg) - Method in class org.apache.commons.validator.Field
Add a Arg to the arg2 list.
addArg3(Arg) - Method in class org.apache.commons.validator.Field
Add a Arg to the arg3 list.
addConstant(Constant) - Method in class org.apache.commons.validator.ValidatorResources
Add a global constant to the resource.
addConstant(Constant) - Method in class org.apache.commons.validator.FormSet
Add a Constant (locale level).
addConstantParam(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
Add a Constant to the locale level.
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.
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
Add a resource to be used during the processing of validations.
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.
addVarParam(String, String, String) - Method in class org.apache.commons.validator.Field
Add a Var, based on the values passed in, to the Field.
Arg - class org.apache.commons.validator.Arg.
A default argument or an argument for a specific validator definition (ex: required) can be stored to pass into a message as parameters.
ARG_DEFAULT - Static variable in class org.apache.commons.validator.Field
This is the value that will be used as a key if the Arg name field has no value.
Arg() - Constructor for class org.apache.commons.validator.Arg
 

B

BEAN_KEY - Static variable in class org.apache.commons.validator.Validator
Resources key the JavaBean is stored to perform validation on.
bProcessed - Variable in class org.apache.commons.validator.FormSet
Whether or not the this FormSet was processed for replacing variables in strings with their values.
buildKey(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
Builds a key to store the FormSet under based on it's language, country, and variant values.

C

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.ValidatorResults
Clear all results recorded by this object.
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).
clone() - Method in class org.apache.commons.validator.Var
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.Field
Creates and returns a copy of this object.
clone() - Method in class org.apache.commons.validator.Arg
Creates and returns a copy of this object.
Constant - class org.apache.commons.validator.Constant.
A constant can be used to define a global or locale level constant that can be used to replace values in certain fields.
Constant() - Constructor for class org.apache.commons.validator.Constant
 
containsAction(String) - Method in class org.apache.commons.validator.ValidatorResult
 
copyFastHashMap(FastHashMap) - Static method in class org.apache.commons.validator.ValidatorUtil
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).

D

defaultLocale - Static variable in class org.apache.commons.validator.ValidatorResources
The default locale on our server.
depends - Variable in class org.apache.commons.validator.ValidatorAction
The other ValidatorActions that this one depends on.
depends - Variable in class org.apache.commons.validator.Field
 

E

empty() - Method in class org.apache.commons.validator.ValidatorResults
Return true if there are no messages recorded in this collection, or false otherwise.

F

field - Variable in class org.apache.commons.validator.ValidatorResult
Field being validated.
Field - class org.apache.commons.validator.Field.
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_KEY - Static variable in class org.apache.commons.validator.Validator
Resources key the Field is stored under.
Field() - Constructor for class org.apache.commons.validator.Field
 
fieldOrder - Variable in class org.apache.commons.validator.Field
 
Form - class org.apache.commons.validator.Form.
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.
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
 
FormSet - class org.apache.commons.validator.FormSet.
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
 

G

generateKey() - Method in class org.apache.commons.validator.Field
Generate correct key value.
GenericTypeValidator - class org.apache.commons.validator.GenericTypeValidator.
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 org.apache.commons.validator.GenericValidator.
This class contains basic methods for performing validations.
GenericValidator() - Constructor for class org.apache.commons.validator.GenericValidator
 
get() - Method in class org.apache.commons.validator.ValidatorResults
Return the set of all recorded messages, without distinction by which property the messages are associated with.
get(Locale, Object) - 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.
get(String, String, String, Object) - 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.
getActionMap() - Method in class org.apache.commons.validator.ValidatorResult
 
getArg0() - Method in class org.apache.commons.validator.Field
Gets the default arg0 Arg object.
getArg0(String) - Method in class org.apache.commons.validator.Field
Gets the arg0 Arg object based on the key passed in.
getArg1() - Method in class org.apache.commons.validator.Field
Gets the default arg1 Arg object.
getArg1(String) - Method in class org.apache.commons.validator.Field
Gets the arg1 Arg object based on the key passed in.
getArg2() - Method in class org.apache.commons.validator.Field
Gets the default arg2 Arg object.
getArg2(String) - Method in class org.apache.commons.validator.Field
Gets the arg2 Arg object based on the key passed in.
getArg3() - Method in class org.apache.commons.validator.Field
Gets the default arg3 Arg object.
getArg3(String) - Method in class org.apache.commons.validator.Field
Gets the arg3 Arg object based on the key passed in.
getClassLoader() - Method in class org.apache.commons.validator.Validator
Return the class loader to be used for instantiating application objects when required.
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
Gets an instance based on the validator action's classname.
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.
getDelimittedRegexp(String) - Static method in class org.apache.commons.validator.GenericValidator
Adds a '/' on either side of the regular expression.
getDependencies() - Method in class org.apache.commons.validator.ValidatorAction
Gets the dependencies as a Collection.
getDependencies() - Method in class org.apache.commons.validator.Field
Gets an unmodifiable Set of the dependencies.
getDepends() - Method in class org.apache.commons.validator.ValidatorAction
Gets the dependencies of the validator action.
getDepends() - Method in class org.apache.commons.validator.Field
Gets the validation rules for this field.
getFieldMap() - Method in class org.apache.commons.validator.Form
A Map of Fields is returned as an unmodifiable List.
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.
getForm(Object) - Method in class org.apache.commons.validator.FormSet
Retrieve a Form based on the form name.
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.
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.Msg
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.Arg
Gets the key/value.
getLanguage() - Method in class org.apache.commons.validator.FormSet
Gets the equivalent of the language component of Locale.
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
Gets the method parameters for the method.
getMsg() - Method in class org.apache.commons.validator.ValidatorAction
Gets the message associated with the validator action.
getMsg(String) - Method in class org.apache.commons.validator.Field
Retrieve a message value.
getName() - Method in class org.apache.commons.validator.Var
Gets the name of the variable.
getName() - Method in class org.apache.commons.validator.ValidatorAction
Gets the name of the validator action.
getName() - Method in class org.apache.commons.validator.Msg
Gets the name of the dependency.
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.Constant
Gets the name of the constant.
getName() - Method in class org.apache.commons.validator.Arg
Gets the name of the dependency.
getPage() - Method in class org.apache.commons.validator.Validator
Gets the page.
getPage() - Method in class org.apache.commons.validator.Field
Gets the page value that the Field is associated with for validation.
getProperty() - Method in class org.apache.commons.validator.Field
Gets the property name of the field.
getResource() - Method in class org.apache.commons.validator.Arg
Gets whether or not the key is a resource.
getResource(String) - Method in class org.apache.commons.validator.Validator
Get a resource to be used during the processing of validations.
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
Gets whether or not the validation passed.
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.Var
Gets the value of the variable.
getValue() - Method in class org.apache.commons.validator.Constant
Gets the value of the constant.
getValueAsString(Object, String) - Static method in class org.apache.commons.validator.ValidatorUtil
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.

H

hAction - Variable in class org.apache.commons.validator.ValidatorResult
Map of results.
hActions - Variable in class org.apache.commons.validator.ValidatorResources
FastHashMap of ValidatorActions with the name of the ValidatorAction as the key.
hArg0 - Variable in class org.apache.commons.validator.Field
 
hArg1 - Variable in class org.apache.commons.validator.Field
 
hArg2 - Variable in class org.apache.commons.validator.Field
 
hArg3 - Variable in class org.apache.commons.validator.Field
 
hConstants - Variable in class org.apache.commons.validator.ValidatorResources
FastHashMap of global constant values with the name of the constant as the key.
hConstants - Variable in class org.apache.commons.validator.FormSet
A FastHashMap of Constants using the name field of the Constant as the key.
hDependencies - Variable in class org.apache.commons.validator.ValidatorAction
A FastHashMap of the other ValiadtorActions this one depends on (if any).
hDependencies - Variable in class org.apache.commons.validator.Field
 
hFields - Variable in class org.apache.commons.validator.Form
Map of Fields keyed on their property value.
hForms - Variable in class org.apache.commons.validator.FormSet
A FastHashMap of Forms using the name field of the Form as the key.
hFormSets - Variable in class org.apache.commons.validator.ValidatorResources
FastHashMap of FormSets stored under a Locale key.
hMsgs - Variable in class org.apache.commons.validator.Field
 
hResources - Variable in class org.apache.commons.validator.Validator
 
hResults - Variable in class org.apache.commons.validator.ValidatorResults
Map of validation results .
hVars - Variable in class org.apache.commons.validator.Field
 

I

indexedListProperty - Variable in class org.apache.commons.validator.Field
 
indexedProperty - Variable in class org.apache.commons.validator.Field
 
initialize(InputStream) - Static method in class org.apache.commons.validator.ValidatorResourcesInitializer
Initializes a ValidatorResources based on the InputStream and automatically process the resources.
initialize(String) - Static method in class org.apache.commons.validator.ValidatorResourcesInitializer
Initializes a ValidatorResources based on a file path and automatically process the resources.
initialize(ValidatorResources, InputStream) - Static method in class org.apache.commons.validator.ValidatorResourcesInitializer
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
Initializes a ValidatorResources based on the InputStream and processes the resources based on the boolean passed in.
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.
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.ValidatorAction
Checks whether or not the value passed in is in the depends field.
isDependency(String) - Method in class org.apache.commons.validator.Field
Checks if the key is listed as a dependency.
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.
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(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).
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(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(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).
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.
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.
isShort(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value can safely be converted to a short primitive.
isValid(Object) - Method in class org.apache.commons.validator.Validator
Returns if the result if valid.
isValid(String) - Method in class org.apache.commons.validator.ValidatorResult
 

J

javascript - Variable in class org.apache.commons.validator.ValidatorAction
An optional field to containing a JavaScript representation of the java method assocated with this action.
jsFunctionName - Variable in class org.apache.commons.validator.ValidatorAction
An optional field to contain the name to be used if JavaScript is generated.
jsType - Variable in class org.apache.commons.validator.Var
The optional JavaScript type of the variable.
JSTYPE_INT - Static variable in class org.apache.commons.validator.Var
Int Constant for JavaScript type.
JSTYPE_REGEXP - Static variable in class org.apache.commons.validator.Var
Regular Expression Constant for JavaScript type.
JSTYPE_STRING - Static variable in class org.apache.commons.validator.Var
String Constant for JavaScript type.

K

key - Variable in class org.apache.commons.validator.Msg
The key or value of the argument.
key - Variable in class org.apache.commons.validator.Field
 
key - Variable in class org.apache.commons.validator.Arg
The key or value of the argument.

L

language - Variable in class org.apache.commons.validator.FormSet
Language component of Locale (required).
lFields - Variable in class org.apache.commons.validator.Form
List of Fields.
lMethodParams - Variable in class org.apache.commons.validator.ValidatorAction
A list of all the validation method's parameters.
LOCALE_KEY - Static variable in class org.apache.commons.validator.Validator
Resources key the Locale is stored.
log - Static variable in class org.apache.commons.validator.ValidatorUtil
Logger
log - Static variable in class org.apache.commons.validator.ValidatorResourcesInitializer
Logger
log - Static variable in class org.apache.commons.validator.ValidatorResources
Logger.
log - Static variable in class org.apache.commons.validator.Validator
Logger

M

matchRegexp(String, String) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value matches the regular expression.
maxLength(String, int) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value's length is less than or equal to the max.
merge(ValidatorResults) - Method in class org.apache.commons.validator.ValidatorResults
Merge another ValidatorResults into mine
method - Variable in class org.apache.commons.validator.ValidatorAction
The full method name of the validation to be performed.
methodParams - Variable in class org.apache.commons.validator.ValidatorAction
The method signature of the validation method.
minLength(String, int) - Static method in class org.apache.commons.validator.GenericValidator
Checks if the value's length is greater than or equal to the min.
msg - Variable in class org.apache.commons.validator.ValidatorAction
The default error message associated with this action.
Msg - class org.apache.commons.validator.Msg.
An alternative message can be associated with a Field and a pluggable validator instead of using the default message stored in the ValidatorAction (aka pluggable validator).
Msg() - Constructor for class org.apache.commons.validator.Msg
 

N

name - Variable in class org.apache.commons.validator.Var
The name of the variable.
name - Variable in class org.apache.commons.validator.ValidatorAction
The name of the validation.
name - Variable in class org.apache.commons.validator.Msg
The name dependency that this argument goes with (optional).
name - Variable in class org.apache.commons.validator.Form
The name/key the set of validation rules is stored under.
name - Variable in class org.apache.commons.validator.Constant
The name of the constant.
name - Variable in class org.apache.commons.validator.Arg
The name dependency that this argument goes with (optional).

O

org.apache.commons.validator - package org.apache.commons.validator
The Validator package provides validation for JavaBeans based on an xml file.

P

page - Variable in class org.apache.commons.validator.Validator
 
page - Variable in class org.apache.commons.validator.Field
 
process() - Method in class org.apache.commons.validator.ValidatorResources
Process the ValidatorResources object.
process(Map) - Method in class org.apache.commons.validator.ValidatorAction
Creates a FastHashMap for the isDependency method based on depends.
process(Map) - Method in class org.apache.commons.validator.FormSet
Processes all of the Forms, set FastHashMaps to 'fast' mode.
process(Map, Map) - Method in class org.apache.commons.validator.Form
Processes all of the Form's Fields.
process(Map, Map) - Method in class org.apache.commons.validator.Field
Replace constants with values in fields and process the depends field to create the dependency Map.
processArg(Map, String, String) - Method in class org.apache.commons.validator.Field
Replace the arg Collection key value with the key/value pairs passed in.
processForms() - Method in class org.apache.commons.validator.ValidatorResources
Process the Form objects.
processMessageComponents(String, String) - Method in class org.apache.commons.validator.Field
Replace the args key value with the key/value pairs passed in.
processVars(String, String) - Method in class org.apache.commons.validator.Field
Replace the vars value with the key/value pairs passed in.
properties() - Method in class org.apache.commons.validator.ValidatorResults
Return the set of property names for which at least one message has been recorded.
property - Variable in class org.apache.commons.validator.Field
 
put(FormSet) - Method in class org.apache.commons.validator.ValidatorResources
Add a FormSet to this ValidatorResources object.

R

REGEXP_DELIM - Static variable in class org.apache.commons.validator.GenericValidator
Delimiter to put around a regular expression following Perl 5 syntax.
registrations - Static variable in class org.apache.commons.validator.ValidatorResourcesInitializer
The set of public identifiers, and corresponding resource names, for the versions of the configuration file DTDs that we know about.
replace(String, String, String) - Static method in class org.apache.commons.validator.ValidatorUtil
Replace part of a String with another value.
resource - Variable in class org.apache.commons.validator.Arg
Whether or not the key is a message resource (optional).
resources - Variable in class org.apache.commons.validator.Validator
 
result - Variable in class org.apache.commons.validator.ValidatorResult.ResultStatus
 

S

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
Sets an instance based on the validator action's classname.
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.ValidatorAction
Sets the dependencies of the validator action.
setDepends(String) - Method in class org.apache.commons.validator.Field
Sets the validation rules for this field.
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.
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.Msg
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.Arg
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.Var
Sets the name of the variable.
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.Msg
Sets the name of the dependency.
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.Constant
Sets the name of the constant.
setName(String) - Method in class org.apache.commons.validator.Arg
Sets the name of the dependency.
setPage(int) - Method in class org.apache.commons.validator.Validator
Sets the page.
setPage(int) - Method in class org.apache.commons.validator.Field
Sets the page value that the Field is associated with for validation.
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.
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.Var
Sets the value of the variable.
setValue(String) - Method in class org.apache.commons.validator.Constant
Sets the value of the constant.
setVariant(String) - Method in class org.apache.commons.validator.FormSet
Sets the equivalent of the variant component of Locale.

T

TOKEN_END - Static variable in class org.apache.commons.validator.Field
 
TOKEN_INDEXED - Static variable in class org.apache.commons.validator.Field
This indicates an indexed property is being referenced.
TOKEN_START - Static variable in class org.apache.commons.validator.Field
 
TOKEN_VAR - Static variable in class org.apache.commons.validator.Field
 
toString() - Method in class org.apache.commons.validator.Var
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.ValidatorAction
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.Msg
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.FormSet
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.Form
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.Field
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.Constant
Returns a string representation of the object.
toString() - Method in class org.apache.commons.validator.Arg
Returns a string representation of the object.

U

useContextClassLoader - Variable in class org.apache.commons.validator.Validator
Whether or not to use the Context ClassLoader when loading classes for instantiating new objects.

V

valid - Variable in class org.apache.commons.validator.ValidatorResult.ResultStatus
 
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
Checks for a valid credit card number.
validateCreditCardPrefixCheck(String) - Static method in class org.apache.commons.validator.GenericValidator
Checks for a valid credit card number.
validateField(Field, ValidatorResults) - Method in class org.apache.commons.validator.Validator
Run the validations on a given field, modifying the passed ValidatorResults to add in any new errors found.
validateFieldForRule(Field, ValidatorAction, ValidatorResults, Map, int) - Method in class org.apache.commons.validator.Validator
Executes the given ValidatorAction and all ValidatorActions that it depends on.
Validator - class org.apache.commons.validator.Validator.
Validations are processed by the validate method.
VALIDATOR_ACTION_KEY - 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
Resources key the Validator is stored under.
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.
ValidatorAction - class org.apache.commons.validator.ValidatorAction.
Contains the information to dynamically instantiate and run a validation method.
ValidatorAction() - Constructor for class org.apache.commons.validator.ValidatorAction
 
ValidatorException - exception org.apache.commons.validator.ValidatorException.
Exception for the Validator Framework.
ValidatorException() - Constructor for class org.apache.commons.validator.ValidatorException
Constructs an Exception with no specified detail message.
ValidatorException(String) - Constructor for class org.apache.commons.validator.ValidatorException
Constructs an Exception with the specified detail message.
ValidatorResources - class org.apache.commons.validator.ValidatorResources.
General purpose class for storing FormSet objects based on their associated Locale.
ValidatorResources() - Constructor for class org.apache.commons.validator.ValidatorResources
 
ValidatorResourcesInitializer - class org.apache.commons.validator.ValidatorResourcesInitializer.
Maps an xml file to ValidatorResources.
ValidatorResourcesInitializer() - Constructor for class org.apache.commons.validator.ValidatorResourcesInitializer
 
ValidatorResult - class org.apache.commons.validator.ValidatorResult.
This contains the results of a set of validation rules processed on JavaBean.
ValidatorResult.ResultStatus - class org.apache.commons.validator.ValidatorResult.ResultStatus.
Contains the status of the validation.
ValidatorResult.ResultStatus(boolean, Object) - Constructor for class org.apache.commons.validator.ValidatorResult.ResultStatus
 
ValidatorResult(Field) - Constructor for class org.apache.commons.validator.ValidatorResult
Constructs a ValidatorResult with the associated field being validated.
ValidatorResults - class org.apache.commons.validator.ValidatorResults.
This contains the results of a set of validation rules processed on JavaBean.
ValidatorResults() - Constructor for class org.apache.commons.validator.ValidatorResults
 
ValidatorUtil - class org.apache.commons.validator.ValidatorUtil.
Basic utility methods.
ValidatorUtil() - Constructor for class org.apache.commons.validator.ValidatorUtil
 
value - Variable in class org.apache.commons.validator.Var
The name of the value.
value - Variable in class org.apache.commons.validator.Constant
The name of the constant.
Var - class org.apache.commons.validator.Var.
A variable can be associate 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).

A B C D E F G H I J K L M N O P R S T U V

Copyright (c) 2001-2002 - Apache Software Foundation