Serialized Form


Package org.apache.commons.validator

Class org.apache.commons.validator.Arg implements Serializable

Serialized Fields

name

java.lang.String name
The name dependency that this argument goes with (optional).


key

java.lang.String key
The key or value of the argument.


resource

boolean resource
Whether or not the key is a message resource (optional). Defaults to true. If it is 'true', the value will try to be resolved as a message resource.

Class org.apache.commons.validator.Constant implements Serializable

Serialized Fields

name

java.lang.String name
The name of the constant.


value

java.lang.String value
The name of the constant.

Class org.apache.commons.validator.Field implements Serializable

Serialized Fields

property

java.lang.String property

indexedProperty

java.lang.String indexedProperty

indexedListProperty

java.lang.String indexedListProperty

key

java.lang.String key

depends

java.lang.String depends

page

int page

fieldOrder

int fieldOrder

hDependencies

org.apache.commons.collections.FastHashMap hDependencies

hVars

org.apache.commons.collections.FastHashMap hVars

hMsgs

org.apache.commons.collections.FastHashMap hMsgs

hArg0

org.apache.commons.collections.FastHashMap hArg0

hArg1

org.apache.commons.collections.FastHashMap hArg1

hArg2

org.apache.commons.collections.FastHashMap hArg2

hArg3

org.apache.commons.collections.FastHashMap hArg3

Class org.apache.commons.validator.Form implements Serializable

Serialized Fields

name

java.lang.String name
The name/key the set of validation rules is stored under.


lFields

java.util.List lFields
List of Fields. Used to maintain the order they were added in although individual Fields can be retrieved using Map of Fields.


hFields

org.apache.commons.collections.FastHashMap hFields
Map of Fields keyed on their property value.

Class org.apache.commons.validator.FormSet implements Serializable

Serialized Fields

bProcessed

boolean bProcessed
Whether or not the this FormSet was processed for replacing variables in strings with their values.


language

java.lang.String language
Language component of Locale (required).


country

java.lang.String country
Country component of Locale (optional).


variant

java.lang.String variant
Variant component of Locale (optional).


hForms

org.apache.commons.collections.FastHashMap hForms
A FastHashMap of Forms using the name field of the Form as the key.


hConstants

org.apache.commons.collections.FastHashMap hConstants
A FastHashMap of Constants using the name field of the Constant as the key.

Class org.apache.commons.validator.GenericTypeValidator implements Serializable

Class org.apache.commons.validator.GenericValidator implements Serializable

Class org.apache.commons.validator.Msg implements Serializable

Serialized Fields

name

java.lang.String name
The name dependency that this argument goes with (optional).


key

java.lang.String key
The key or value of the argument.

Class org.apache.commons.validator.Validator implements Serializable

Serialized Fields

resources

ValidatorResources resources

formName

java.lang.String formName

hResources

java.util.HashMap hResources

page

int page

classLoader

java.lang.ClassLoader classLoader
The class loader to use for instantiating application objects. If not specified, the context class loader, or the class loader used to load Digester itself, is used, based on the value of the useContextClassLoader variable.


useContextClassLoader

boolean useContextClassLoader
Whether or not to use the Context ClassLoader when loading classes for instantiating new objects. Default is false.

Class org.apache.commons.validator.ValidatorAction implements Serializable

Serialized Fields

name

java.lang.String name
The name of the validation.


classname

java.lang.String classname
The full class name of the class containing the validation method associated with this action.


method

java.lang.String method
The full method name of the validation to be performed. The method must be thread safe.


methodParams

java.lang.String methodParams

The method signature of the validation method. This should be a comma delimited list of the full class names of each parameter in the correct order that the method takes.

Note: java.lang.Object is reserved for the JavaBean that is being validated. The ValidatorAction and Field that are associated with a fields validation will automatically be populated if they are specified in the method signature.


depends

java.lang.String depends
The other ValidatorActions that this one depends on. If any errors occur in an action that this one depends on, this action will not be processsed.


msg

java.lang.String msg
The default error message associated with this action.


jsFunctionName

java.lang.String jsFunctionName
An optional field to contain the name to be used if JavaScript is generated.


javascript

java.lang.String javascript
An optional field to containing a JavaScript representation of the java method assocated with this action.


instance

java.lang.Object instance
If the java method matching the correct signature isn't static, the instance is stored in the action. This assumes the method is thread safe.


hDependencies

org.apache.commons.collections.FastHashMap hDependencies
A FastHashMap of the other ValiadtorActions this one depends on (if any).


lMethodParams

java.util.List lMethodParams
A list of all the validation method's parameters.

Class org.apache.commons.validator.ValidatorException implements Serializable

Class org.apache.commons.validator.ValidatorResources implements Serializable

Serialized Fields

hFormSets

org.apache.commons.collections.FastHashMap hFormSets
FastHashMap of FormSets stored under a Locale key.


hConstants

org.apache.commons.collections.FastHashMap hConstants
FastHashMap of global constant values with the name of the constant as the key.


hActions

org.apache.commons.collections.FastHashMap hActions
FastHashMap of ValidatorActions with the name of the ValidatorAction as the key.

Class org.apache.commons.validator.ValidatorResult implements Serializable

Serialized Fields

hAction

java.util.Map hAction
Map of results. The key is the name of the ValidatorAction and the value is whether or not this field passed or not.


field

Field field
Field being validated.

Class org.apache.commons.validator.ValidatorResult.ResultStatus implements Serializable

Serialized Fields

valid

boolean valid

result

java.lang.Object result

Class org.apache.commons.validator.ValidatorResults implements Serializable

Serialized Fields

hResults

java.util.Map hResults
Map of validation results .

Class org.apache.commons.validator.Var implements Serializable

Serialized Fields

name

java.lang.String name
The name of the variable.


value

java.lang.String value
The name of the value.


jsType

java.lang.String jsType
The optional JavaScript type of the variable.



Copyright (c) 2001-2002 - Apache Software Foundation