Java org.apache.commons.validator Field fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.validator Field fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.validator Field.

The text is from its open source code.

Subclass

org.apache.commons.validator.Field has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidaddArg(Arg arg)
Add an Arg to the replacement argument list.
voidaddMsg(Msg msg)
Add a Msg to the Field.
voidaddVar(Var v)
Add a Var to the Field.
voidaddVar(String name, String value, String jsType)
Add a Var, based on the values passed in, to the Field.
Objectclone()
Creates and returns a copy of this object.
ArggetArg(int position)
Gets the default Arg object at the given position.
ArggetArg(String key, int position)
Gets the Arg object at the given position.
Arg[]getArgs(String key)
Retrieves the Args for the given validator name.
ListgetDependencyList()
Gets an unmodifiable List of the dependencies in the same order they were defined in parameter passed to the setDepends() method.
StringgetIndexedListProperty()
Gets the indexed property name of the field.
StringgetKey()
Gets a unique key based on the property and indexedProperty fields.
MsggetMessage(String key)
Retrieve a message object.
StringgetMsg(String key)
Retrieve a message value.
intgetPage()
Gets the page value that the Field is associated with for validation.
StringgetProperty()
Gets the property name of the field.
VargetVar(String mainKey)
Retrieve a variable.
MapgetVars()
The Field's variables are returned as an unmodifiable Map.
StringgetVarValue(String mainKey)
Retrieve a variable's value.
booleanisDependency(String validatorName)
Checks if the validator is listed as a dependency.
booleanisIndexed()
If there is a value specified for the indexedProperty field then true will be returned.
voidsetDepends(String depends)
Sets the validation rules for this field as a comma separated list.
voidsetIndexedListProperty(String indexedListProperty)
Sets the indexed property name of the field.
voidsetKey(String key)
Sets a unique key for the field.
voidsetProperty(String property)
Sets the property name of the field.