Commons Resources (Unofficial)
|
-
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
-
-
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.
-
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).
-
empty()
-
Method in class org.apache.commons.validator.
ValidatorResults
- Return
true if there are no messages recorded
in this collection, or false otherwise.
-
hAction
-
Variable in class org.apache.commons.validator.
ValidatorResult
- Map of results.
-
hActions
-
Variable in class org.apache.commons.validator.
ValidatorResources
FastHashMap of ValidatorAction s 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 Constant s
using the name field of the Constant as the key.
-
hDependencies
-
Variable in class org.apache.commons.validator.
ValidatorAction
- A
FastHashMap of the other
ValiadtorAction s 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
Field s keyed on their property value.
-
hForms
-
Variable in class org.apache.commons.validator.
FormSet
- A
FastHashMap of Form s
using the name field of the Form as the key.
-
hFormSets
-
Variable in class org.apache.commons.validator.
ValidatorResources
FastHashMap of FormSet s 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
-
-
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
-
-
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.
-
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.
-
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
Field s.
-
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
-
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
-
-
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).
-
org.apache.commons.validator
- package org.apache.commons.validator
- The Validator package provides validation for JavaBeans based on an xml file.
-
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.
-
useContextClassLoader
-
Variable in class org.apache.commons.validator.
Validator
- Whether or not to use the Context ClassLoader when loading classes
for instantiating new objects.
-
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).
Copyright (c) 2001-2002 - Apache Software Foundation
|