|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.config.ActionConfig
org.apache.struts.action.ActionMapping
コントローラのRequestProcessorが知っている、
Actionクラスのインスタンスとリクエストのマッピング情報を、
ActionMappingは表わします。
Actionを選択するために使用したActionMappingのインスタンスは、
選択したActionに渡されますので、
ActionMappingオブジェクトに含まれている任意のカスタム情報にアクセスすることができます。
An ActionMapping represents the information that the
controller, RequestProcessor, knows about the mapping
of a particular request to an instance of a particular Action class.
The ActionMapping instance used to select a particular
Action is passed on to that Action, thereby providing
access to any custom configuration information included with the
ActionMapping object.
Struts 1.1からこのクラスはActionConfigを拡張しています。
Since Struts 1.1 this class extends ActionConfig.
注意 -
このクラスが既存アプリケーションが使用している公開APIの一部であるという事実がなければ、
このクラスの使用は推奨されずにorg.apache.struts.config.ActionConfigに置き換えられていたでしょう。
NOTE - This class would have been deprecated and
replaced by org.apache.struts.config.ActionConfig except
for the fact that it is part of the public API that existing applications
are using.
| フィールドの概要 |
| クラス org.apache.struts.config.ActionConfig から継承したフィールド |
attribute, configured, exceptions, forward, forwards, include, input, moduleConfig, multipartClass, name, parameter, path, prefix, roleNames, roles, scope, suffix, type, unknown, validate |
| コンストラクタの概要 | |
ActionMapping()
|
|
| メソッドの概要 | |
ActionForward |
findForward(java.lang.String name)
指定された論理名へのフォワードがどのように扱われるべきかを定義している、 ForwardConfigインスタンスを探して返します。
|
java.lang.String[] |
findForwards()
このマッピングに定義された全てのローカルフォワードの論理名を返します。 |
ActionForward |
getInputForward()
このアクションの inputプロパティに対応するActionForwardを、
(必要に応じて)生成して返します。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
public ActionMapping()
| メソッドの詳細 |
public ActionForward findForward(java.lang.String name)
指定された論理名へのフォワードがどのように扱われるべきかを定義している、
ForwardConfigインスタンスを探して返します。
このメソッドは指定されたフォワードの設定のためにローカルな設定をチェックし次にグローバルな設置をチェックします。
フォワードの設定を見つけることができなかった場合、
nullを返します。
Find and return the ForwardConfig instance defining
how forwarding to the specified logical name should be handled. This is
performed by checking local and then global configurations for the
specified forwarding configuration. If no forwarding configuration
can be found, return null.
name - 返されるフォワードインスタンスの論理名
public java.lang.String[] findForwards()
このマッピングに定義された全てのローカルフォワードの論理名を返します。 定義されたフォワードが一つもない場合、 長さ0の配列を返します。
Return the logical names of all locally defined forwards for this mapping. If there are no such forwards, a zero-length array is returned.
public ActionForward getInputForward()
このアクションのinputプロパティに対応するActionForwardを、
(必要に応じて)生成して返します。
Create (if necessary) and return an {@link ActionForward} that
corresponds to the input property of this Action.
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||