| Frames | No Frames | |
java.lang.String bundle
The resource bundle name that this Arg'skeyshould be resolved in (optional).
- Since:
- Validator 1.1
java.lang.String key
The key or value of the argument.
java.lang.String name
The name dependency that this argument goes with (optional).
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
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.
java.lang.String name
The name of the constant.
java.lang.String value
The name of the constant.
java.lang.String property
java.lang.String indexedProperty
java.lang.String indexedListProperty
java.lang.String key
java.lang.String depends
A comma separated list of validator's this field depends on.
int page
int fieldOrder
FastHashMap hDependencies
Deprecated. This is no longer used.
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().
FastHashMap hVars
FastHashMap hMsgs
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
FastHashMap hArg0
Deprecated. This variable is no longer used, use args instead.
FastHashMap hArg1
Deprecated. This variable is no longer used, use args instead.
FastHashMap hArg2
Deprecated. This variable is no longer used, use args instead.
FastHashMap hArg3
Deprecated. This variable is no longer used, use args instead.
java.lang.String name
The name/key the set of validation rules is stored under.
java.util.List lFields
List ofFields. Used to maintain the order they were added in although individualFields can be retrieved usingMapofFields.
FastHashMap hFields
Map ofFields keyed on their property value.
boolean processed
Whether or not the thisFormSetwas processed for replacing variables in strings with their values.
java.lang.String language
Language component ofLocale(required).
java.lang.String country
Country component ofLocale(optional).
java.lang.String variant
Variant component ofLocale(optional).
java.util.Map forms
AMapofForms using the name field of theFormas the key.
java.util.Map constants
AMapofConstants using the name field of theConstantas the key.
java.lang.String bundle
The resource bundle name that this Msg'skeyshould be resolved in (optional).
- Since:
- Validator 1.1
java.lang.String key
The key or value of the argument.
java.lang.String name
The name dependency that this argument goes with (optional).
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
java.util.Set allowedSchemes
The set of schemes that are allowed to be in a URL.
java.lang.String[] defaultSchemes
If no schemes are provided, default to this set.
java.lang.String formName
java.util.Map parameters
Maps validation method parameter class names to the objects to be passed into the method.
java.util.HashMap hResources
Deprecated. Use parameters instead.
int page
The current page number to validate.
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 theuseContextClassLoadervariable.
boolean useContextClassLoader
Whether or not to use the Context ClassLoader when loading classes for instantiating new objects. Default isfalse.
boolean onlyReturnErrors
Set this to true to not return Fields that pass validation. Only return failures.
java.lang.String name
The name of the validation.
java.lang.String classname
The full class name of the class containing the validation method associated with this action.
java.lang.Class validationClass
The Class object loaded from the classname.
java.lang.String method
The full method name of the validation to be performed. The method must be thread safe.
java.lang.reflect.Method validationMethod
The Method object loaded from the method name.
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.Objectis reserved for the JavaBean that is being validated. TheValidatorActionandFieldthat are associated with a field's validation will automatically be populated if they are specified in the method signature.
java.lang.Class[] parameterClasses
The Class objects for each entry in methodParameterList.
java.lang.String depends
The otherValidatorActions that this one depends on. If any errors occur in an action that this one depends on, this action will not be processsed.
java.lang.String msg
The default error message associated with this action.
java.lang.String jsFunctionName
An optional field to contain the name to be used if JavaScript is generated.
java.lang.String jsFunction
An optional field to contain the class path to be used to retrieve the JavaScript function.
java.lang.String javascript
An optional field to containing a JavaScript representation of the java method assocated with this action.
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.
java.util.List dependencyList
An internal List representation of the otherValidatorActions 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().
java.util.List methodParameterList
An internal List representation of all the validation method's parameters defined in the methodParams String.
FastHashMap hFormSets
FastHashMapofFormSets stored under aLocalekey.
FastHashMap hConstants
FastHashMapof global constant values with the name of the constant as the key.
FastHashMap hActions
FastHashMapofValidatorActions with the name of theValidatorActionas the key.
java.util.Map hAction
Map of results. The key is the name of theValidatorActionand the value is whether or not this field passed or not.
Field field
Fieldbeing validated. TODO This variable is not used. Need to investigate removing it.
java.lang.String name
The name of the variable.
java.lang.String value
The name of the value.
java.lang.String jsType
The optional JavaScript type of the variable.