org.apache.commons.validator
クラス Form

java.lang.Object
  拡張org.apache.commons.validator.Form
すべての実装インタフェース:
Serializable

public class Form
extends Object
implements Serializable

form/JavaBean に対する妥当性チェックのルールを内部に持ちます。 この情報は Field オブジェクトのリストを含みます。

バージョン:
$Revision: 1.1.1.1 $ $Date: 2004/02/13 10:02:01 $
作成者:
David Winterfeldt
関連項目:
直列化された形式
翻訳者:
日置 聡

フィールドの概要
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
 

フィールドの詳細

name

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


lFields

protected 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

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

コンストラクタの詳細

Form

public Form()
メソッドの詳細

getName

public String getName()
Gets the name/key of the set of validation rules.


setName

public void setName(String name)
Sets the name/key of the set of validation rules.


addField

public void addField(Field f)
Add a Field to the Form.


getFields

public List getFields()
A List of Fields is returned as an unmodifiable List.


getFieldMap

public Map getFieldMap()
A Map of Fields is returned as an unmodifiable List.


process

public void process(Map globalConstants,
                    Map constants)
Processes all of the Form's Fields.


toString

public String toString()
Returns a string representation of the object.



このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation