|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.apache.commons.validator.Form
form/JavaBean に対する妥当性チェックのルールを内部に持ちます。
この情報は Field オブジェクトのリストを含みます。
Field objects.
| フィールドの概要 | |
protected org.apache.commons.collections.FastHashMap |
hFields
Map of Fields keyed on their property value. |
protected List |
lFields
List of Fields. |
protected String |
name
The name/key the set of validation rules is stored under. |
| コンストラクタの概要 | |
Form()
|
|
| メソッドの概要 | |
void |
addField(Field f)
Add a Field to the Form. |
Map |
getFieldMap()
A Map of Fields is returned as an
unmodifiable List. |
List |
getFields()
A List of Fields is returned as an
unmodifiable List. |
String |
getName()
Gets the name/key of the set of validation rules. |
void |
process(Map globalConstants,
Map constants)
Processes all of the Form's Fields. |
void |
setName(String name)
Sets the name/key of the set of validation rules. |
String |
toString()
Returns a string representation of the object. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
protected String name
protected List lFields
Fields. Used to maintain
the order they were added in although individual
Fields can be retrieved using
Map of Fields.
protected org.apache.commons.collections.FastHashMap hFields
Fields keyed on their property value.
| コンストラクタの詳細 |
public Form()
| メソッドの詳細 |
public String getName()
public void setName(String name)
public void addField(Field f)
Field to the Form.
public List getFields()
List of Fields is returned as an
unmodifiable List.
public Map getFieldMap()
Map of Fields is returned as an
unmodifiable List.
public void process(Map globalConstants,
Map constants)
Form's Fields.
public String toString()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||