Serialized Form
-
Package org.apache.commons.validator
-
Class org.apache.commons.validator.Arg extends java.lang.Object implements Serializable
-
Serialized Fields
-
bundle
java.lang.String bundle
The resource bundle name that this Arg'skey
should be resolved in (optional).- Since:
- Validator 1.1
-
key
java.lang.String key
The key or value of the argument. -
name
java.lang.String name
The name dependency that this argument goes with (optional). -
position
int position
This argument's position in the message. Set postion=0 to make a replacement in this string: "some msg {0}".- Since:
- Validator 1.1
-
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.Field extends java.lang.Object implements Serializable
-
Serialized Fields
-
args
java.util.Map[] args
Holds Maps of arguments. args[0] returns the Map for the first replacement argument. Start with a 0 length array so that it will only grow to the size of the highest argument position.- Since:
- Validator 1.1
-
dependencyList
java.util.List dependencyList
Internal representation of this.depends String as a List. This List gets updated whenever setDepends() gets called. This List is synchronized so a call to setDepends() (which clears the List) won't interfere with a call to isDependency(). -
depends
java.lang.String depends
A comma separated list of validator's this field depends on. -
fieldOrder
int fieldOrder
The order of the Field in the Form. -
hMsgs
org.apache.commons.collections.FastHashMap hMsgs
Deprecated.Subclasses should use getMsgMap() instead. -
hVars
org.apache.commons.collections.FastHashMap hVars
Deprecated.Subclasses should use getVarMap() instead. -
indexedListProperty
java.lang.String indexedListProperty
The Field's indexed list property name. -
indexedProperty
java.lang.String indexedProperty
The Field's indexed property name. -
key
java.lang.String key
The Field's unique key. -
page
int page
The Page Number -
property
java.lang.String property
The Field's property name.
-
-
-
Class org.apache.commons.validator.Form extends java.lang.Object implements Serializable
-
Serialized Fields
-
hFields
org.apache.commons.collections.FastHashMap hFields
Deprecated.Subclasses should use getFieldMap() instead.Map ofField
s keyed on their property value. -
inherit
java.lang.String inherit
The name/key of the form which this form extends from.- Since:
- Validator 1.2.0
-
lFields
java.util.List lFields
List ofField
s. Used to maintain the order they were added in although individualField
s can be retrieved usingMap
ofField
s. -
name
java.lang.String name
The name/key the set of validation rules is stored under. -
processed
boolean processed
Whether or not the thisForm
was processed for replacing variables in strings with their values.
-
-
-
Class org.apache.commons.validator.FormSet extends java.lang.Object implements Serializable
-
Serialized Fields
-
constants
java.util.Map constants
AMap
ofConstant
s using the name field of theConstant
as the key. -
country
java.lang.String country
Country component ofLocale
(optional). -
forms
java.util.Map forms
AMap
ofForm
s using the name field of theForm
as the key. -
language
java.lang.String language
Language component ofLocale
(required). -
merged
boolean merged
Flag indicating if this formSet has been merged with its parent (higher rank in Locale hierarchy). -
processed
boolean processed
Whether or not the thisFormSet
was processed for replacing variables in strings with their values. -
variant
java.lang.String variant
Variant component ofLocale
(optional).
-
-
-
Class org.apache.commons.validator.GenericTypeValidator extends java.lang.Object implements Serializable
-
Class org.apache.commons.validator.GenericValidator extends java.lang.Object implements Serializable
-
Class org.apache.commons.validator.Msg extends java.lang.Object implements Serializable
-
Serialized Fields
-
bundle
java.lang.String bundle
The resource bundle name that this Msg'skey
should be resolved in (optional).- Since:
- Validator 1.1
-
key
java.lang.String key
The key or value of the argument. -
name
java.lang.String name
The name dependency that this argument goes with (optional). -
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.- Since:
- Validator 1.1.4
-
-
-
Class org.apache.commons.validator.UrlValidator extends java.lang.Object implements Serializable
-
Serialized Fields
-
allowedSchemes
java.util.Set allowedSchemes
The set of schemes that are allowed to be in a URL. -
defaultSchemes
java.lang.String[] defaultSchemes
If no schemes are provided, default to this set. -
options
Flags options
Holds the set of current validation options.
-
-
-
Class org.apache.commons.validator.Validator extends java.lang.Object implements Serializable
-
Serialized Fields
-
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 theuseContextClassLoader
variable. -
fieldName
java.lang.String fieldName
The name of the field on the form to validate- Since:
- 1.2.0
-
formName
java.lang.String formName
The name of the form to validate -
onlyReturnErrors
boolean onlyReturnErrors
Set this to true to not return Fields that pass validation. Only return failures. -
page
int page
The current page number to validate. -
parameters
java.util.Map parameters
Maps validation method parameter class names to the objects to be passed into the method. -
resources
ValidatorResources resources
The Validator Resources. -
useContextClassLoader
boolean useContextClassLoader
Whether or not to use the Context ClassLoader when loading classes for instantiating new objects. Default isfalse
.
-
-
-
Class org.apache.commons.validator.ValidatorAction extends java.lang.Object implements Serializable
-
Serialized Fields
-
classname
java.lang.String classname
The full class name of the class containing the validation method associated with this action. -
dependencyList
java.util.List dependencyList
An internal List representation of the otherValidatorAction
s this one depends on (if any). This List gets updated whenever setDepends() gets called. This is synchronized so a call to setDepends() (which clears the List) won't interfere with a call to isDependency(). -
depends
java.lang.String depends
The otherValidatorAction
s that this one depends on. If any errors occur in an action that this one depends on, this action will not be processsed. -
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. -
javascript
java.lang.String javascript
An optional field to containing a JavaScript representation of the java method assocated with this action. -
jsFunction
java.lang.String jsFunction
An optional field to contain the class path to be used to retrieve the JavaScript function. -
jsFunctionName
java.lang.String jsFunctionName
An optional field to contain the name to be used if JavaScript is generated. -
method
java.lang.String method
The full method name of the validation to be performed. The method must be thread safe. -
methodParameterList
java.util.List methodParameterList
An internal List representation of all the validation method's parameters defined in the methodParams String. -
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. TheValidatorAction
andField
that are associated with a field's validation will automatically be populated if they are specified in the method signature. -
msg
java.lang.String msg
The default error message associated with this action. -
name
java.lang.String name
The name of the validation. -
parameterClasses
java.lang.Class[] parameterClasses
The Class objects for each entry in methodParameterList. -
validationClass
java.lang.Class validationClass
The Class object loaded from the classname. -
validationMethod
java.lang.reflect.Method validationMethod
The Method object loaded from the method name.
-
-
-
Class org.apache.commons.validator.ValidatorException extends java.lang.Exception implements Serializable
-
Class org.apache.commons.validator.ValidatorResources extends java.lang.Object implements Serializable
-
Serialized Fields
-
defaultFormSet
FormSet defaultFormSet
This is the defaultFormSet
(without locale). (We probably don't need the defaultLocale anymore.) -
hActions
org.apache.commons.collections.FastHashMap hActions
Deprecated.Subclasses should use getActions() instead.Map
ofValidatorAction
s with the name of theValidatorAction
as the key. -
hConstants
org.apache.commons.collections.FastHashMap hConstants
Deprecated.Subclasses should use getConstants() instead.Map
of global constant values with the name of the constant as the key. -
hFormSets
org.apache.commons.collections.FastHashMap hFormSets
Deprecated.Subclasses should use getFormSets() instead.Map
ofFormSet
s stored under aLocale
key.
-
-
-
Class org.apache.commons.validator.ValidatorResult extends java.lang.Object implements Serializable
-
Serialized Fields
-
field
Field field
Field
being validated. TODO This variable is not used. Need to investigate removing it. -
hAction
java.util.Map hAction
Map of results. The key is the name of theValidatorAction
and the value is whether or not this field passed or not.
-
-
-
Class org.apache.commons.validator.ValidatorResult.ResultStatus extends java.lang.Object implements Serializable
-
Serialized Fields
-
result
java.lang.Object result
-
valid
boolean valid
-
-
-
Class org.apache.commons.validator.ValidatorResults extends java.lang.Object implements Serializable
-
Serialized Fields
-
hResults
java.util.Map hResults
Map of validation results.
-
-
-
Class org.apache.commons.validator.Var extends java.lang.Object implements Serializable
-
Serialized Fields
-
bundle
java.lang.String bundle
The bundle for a variable (when resource = 'true'). -
jsType
java.lang.String jsType
The optional JavaScript type of the variable. -
name
java.lang.String name
The name of the variable. -
resource
boolean resource
Whether the variable is a resource [false] -
value
java.lang.String value
The key or value the variable.
-
-
-
-
Package org.apache.commons.validator.routines
-
Class org.apache.commons.validator.routines.AbstractCalendarValidator extends AbstractFormatValidator implements Serializable
-
Serialized Fields
-
dateStyle
int dateStyle
-
timeStyle
int timeStyle
-
-
-
Class org.apache.commons.validator.routines.AbstractFormatValidator extends java.lang.Object implements Serializable
-
Serialized Fields
-
strict
boolean strict
-
-
-
Class org.apache.commons.validator.routines.AbstractNumberValidator extends AbstractFormatValidator implements Serializable
-
Serialized Fields
-
allowFractions
boolean allowFractions
-
formatType
int formatType
-
-
-
Class org.apache.commons.validator.routines.BigDecimalValidator extends AbstractNumberValidator implements Serializable
-
Class org.apache.commons.validator.routines.BigIntegerValidator extends AbstractNumberValidator implements Serializable
-
Class org.apache.commons.validator.routines.ByteValidator extends AbstractNumberValidator implements Serializable
-
Class org.apache.commons.validator.routines.CalendarValidator extends AbstractCalendarValidator implements Serializable
-
Class org.apache.commons.validator.routines.CurrencyValidator extends BigDecimalValidator implements Serializable
-
Class org.apache.commons.validator.routines.DateValidator extends AbstractCalendarValidator implements Serializable
-
Class org.apache.commons.validator.routines.DoubleValidator extends AbstractNumberValidator implements Serializable
-
Class org.apache.commons.validator.routines.FloatValidator extends AbstractNumberValidator implements Serializable
-
Class org.apache.commons.validator.routines.IntegerValidator extends AbstractNumberValidator implements Serializable
-
Class org.apache.commons.validator.routines.LongValidator extends AbstractNumberValidator implements Serializable
-
Class org.apache.commons.validator.routines.PercentValidator extends BigDecimalValidator implements Serializable
-
Class org.apache.commons.validator.routines.ShortValidator extends AbstractNumberValidator implements Serializable
-
Class org.apache.commons.validator.routines.TimeValidator extends AbstractCalendarValidator implements Serializable
-
-
Package org.apache.commons.validator.util
-
Class org.apache.commons.validator.util.Flags extends java.lang.Object implements Serializable
-
Serialized Fields
-
flags
long flags
Represents the current flag state.
-
-
-