org.apache.struts.action
クラス ActionFormBeans

java.lang.Object
  拡張org.apache.struts.action.ActionFormBeans
すべての実装インタフェース:
java.io.Serializable

public class ActionFormBeans
extends java.lang.Object
implements java.io.Serializable

内部実装を隠蔽して ActionFormBeanオブジェクトを管理したり検索したりできるように、 ActionFormBeanオブジェクトのコレクションをカプセル化します。

バージョン:
$Revision: 1.2 $ $Date: 2003/03/22 07:55:10 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式
翻訳者:
横田 健彦 [日本語訳のコメントは、report@jajakarta.orgに送ってください。]

フィールドの概要
protected  FastHashMap formBeans
          名前をキーとする、ActionFormBeanのインスタンスのコレクションです。
 
コンストラクタの概要
ActionFormBeans()
           
 
メソッドの概要
 void addFormBean(ActionFormBean formBean)
          このServletのために設定されている集合にフォームBeanを登録します。
 ActionFormBean findFormBean(java.lang.String name)
          指定された論理名に関連づけられているフォームBeanを返します。
 java.lang.String[] findFormBeans()
          このコレクション中に定義されているフォームBeanの名前の集合を返します。
 boolean getFast()
          "fast"モードのフラグを返します。
 void removeFormBean(ActionFormBean formBean)
          このServletのために設定されている集合からフォームBeanの登録を抹消します。
 void setFast(boolean fast)
          "fast"モードのフラグを設定します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

formBeans

protected FastHashMap formBeans
名前をキーとする、ActionFormBeanのインスタンスのコレクションです。

コンストラクタの詳細

ActionFormBeans

public ActionFormBeans()
メソッドの詳細

getFast

public boolean getFast()
"fast"モードのフラグを返します。


setFast

public void setFast(boolean fast)
"fast"モードのフラグを設定します。

パラメータ:
fast - The new fast mode flag

addFormBean

public void addFormBean(ActionFormBean formBean)
このServletのために設定されている集合にフォームBeanを登録します。

パラメータ:
formBean - 追加するフォームBean

findFormBean

public ActionFormBean findFormBean(java.lang.String name)
指定された論理名に関連づけられているフォームBeanを返します。 なければnullを返します。

パラメータ:
name - 取得したいフォームBeanの論理名。

findFormBeans

public java.lang.String[] findFormBeans()
このコレクション中に定義されているフォームBeanの名前の集合を返します。 フォームBeanが1つもない場合は長さ0の配列を返します。


removeFormBean

public void removeFormBean(ActionFormBean formBean)
このServletのために設定されている集合からフォームBeanの登録を抹消します。

パラメータ:
formBean - 登録を抹消するフォームBean


このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2002 - Apache Software Foundation