org.apache.struts
クラス Globals

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

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

Strutsフレームワーク全体のためのグローバル定数です。

Global manifest constants for the entire Struts Framework.

バージョン:
$Revision: 1.5 $ $Date: 2005/04/02 13:36:27 $
関連項目:
直列化された形式
翻訳者:
棚澤 昌幸
校正者:
翻訳状況:
初稿(校正者募集中)

フィールドの概要
static java.lang.String ACTION_SERVLET_KEY
          ActionServletインスタンスが格納されるコンテキスト属性のキー。
static java.lang.String CANCEL_KEY
          このリクエストがキャンセルされた場合、 trueが格納されるリクエスト属性のキー。
static java.lang.String DATA_SOURCE_KEY
          このモジュールのためにデータソースが設定されているかどうかについて、 デフォルトとして設定されたデータソースが格納されるコンテキスト属性のキー。
static java.lang.String ERROR_KEY
          対応するカスタムタグライブラリ要素を使用している場合、 アクションがorg.apache.struts.action.ActionErrorsオブジェクトを格納するリクエスト属性のキー。
static java.lang.String EXCEPTION_KEY
          Strutsカスタムタグが実行時にJspExceptionを通知するためのThrowableを格納するリクエスト属性のキー。
static java.lang.String LOCALE_KEY
          もしあれば、 ユーザが選定したjava.util.Localeが格納されるセッション属性のキー。
static java.lang.String MAPPING_KEY
          org.apache.struts.ActionMappingインスタンスを渡すリクエスト属性のキー。
static java.lang.String MESSAGE_KEY
          対応するカスタムタグライブラリ要素を使用している場合、 アクションがorg.apache.struts.action.ActionMessagesオブジェクトを格納するリクエスト属性のキー。
static java.lang.String MESSAGES_KEY
          モジュールのMessageResourcesが格納されるコンテキスト属性キーのベース。
static java.lang.String MODULE_KEY
          ModuleConfigデータ構造が格納されるコンテキスト属性のキーのベース。
static java.lang.String MODULE_PREFIXES_KEY
          モジュールプレフィックスであるString[]を格納するサーブレットコンテキスト属性。
static java.lang.String MULTIPART_KEY
          マルチパートクラスが格納されるリクエスト属性のキー。
static java.lang.String PLUG_INS_KEY
          PlugInインスタンスの配列が格納されるコンテキスト属性キーのベース。
static java.lang.String REQUEST_PROCESSOR_KEY
          RequestProcessorインスタンスが格納されるコンテキスト属性キーのベース。
static java.lang.String SERVLET_KEY
          コントローラサーブレットで定義されたマッピングを格納するコンテキスト属性のキー。
static java.lang.String TRANSACTION_TOKEN_KEY
          トランザクショントークンを使用する場合、 トランザクショントークンが格納されるセッション属性のキー。
static java.lang.String XHTML_KEY
          xhtmlステータスを格納するページ属性のキー。
 
コンストラクタの概要
Globals()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

ACTION_SERVLET_KEY

public static final java.lang.String ACTION_SERVLET_KEY

ActionServletインスタンスが格納されるコンテキスト属性のキー。

The context attributes key under which our ActionServlet instance will be stored.

導入されたバージョン:
Struts 1.1
関連項目:
定数フィールド値

CANCEL_KEY

public static final java.lang.String CANCEL_KEY

このリクエストがキャンセルされた場合、 trueが格納されるリクエスト属性のキー。

The request attributes key under which a boolean true value should be stored if this request was cancelled.

導入されたバージョン:
Struts 1.1
関連項目:
定数フィールド値

MODULE_KEY

public static final java.lang.String MODULE_KEY

ModuleConfigデータ構造が格納されるコンテキスト属性のキーのベース。 実際の属性キーを形作る際に、 (先頭に"/"文字を含んだ)実モジュールのプレフィックスとしてこのベースは付け加えられます。

The base of the context attributes key under which our ModuleConfig data structure will be stored. This will be suffixed with the actual module prefix (including the leading "/" character) to form the actual attributes key.

コントローラサーブレットにより処理される各リクエストのため、 現在処理中のリクエストURIにより選択されたモジュールに対するModuleConfigオブジェクトもまた、 リクエスト属性としてこのキーに基づき公開されます。

For each request processed by the controller servlet, the ModuleConfig object for the module selected by the request URI currently being processed will also be exposed under this key as a request attribute.

導入されたバージョン:
Struts 1.1
関連項目:
定数フィールド値

MODULE_PREFIXES_KEY

public static final java.lang.String MODULE_PREFIXES_KEY

モジュールプレフィックスであるString[]を格納するサーブレットコンテキスト属性。

The ServletContext attribute under which we store the module prefixes String[].

導入されたバージョン:
Struts 1.2
関連項目:
定数フィールド値

DATA_SOURCE_KEY

public static final java.lang.String DATA_SOURCE_KEY

このモジュールのためにデータソースが設定されているかどうかについて、 デフォルトとして設定されたデータソースが格納されるコンテキスト属性のキー。 (データソースはjavax.sql.DataSourceを実装しなければいけません。)

The context attributes key under which our default configured data source (which must implement javax.sql.DataSource) is stored, if one is configured for this module.

関連項目:
定数フィールド値

ERROR_KEY

public static final java.lang.String ERROR_KEY

対応するカスタムタグライブラリ要素を使用している場合、 アクションがorg.apache.struts.action.ActionErrorsオブジェクトを格納するリクエスト属性のキー。

The request attributes key under which your action should store an org.apache.struts.action.ActionErrors object, if you are using the corresponding custom tag library elements.

関連項目:
定数フィールド値

EXCEPTION_KEY

public static final java.lang.String EXCEPTION_KEY

Strutsカスタムタグが実行時にJspExceptionを通知するためのThrowableを格納するリクエスト属性のキー。 この値は、実際にどの様な誤りが生じたかについてより詳細な情報を提供するエラーページに使用できます。

The request attributes key under which Struts custom tags might store a Throwable that caused them to report a JspException at runtime. This value can be used on an error page to provide more detailed information about what really went wrong.

関連項目:
定数フィールド値

LOCALE_KEY

public static final java.lang.String LOCALE_KEY

もしあれば、 ユーザが選定したjava.util.Localeが格納されるセッション属性のキー。 この属性がない場合、 国際化されたメッセージを取り出す時にはシステムのデフォルトロケールが使用されます。 この属性が使われる例として、 ユーザがログインして処理を行う間の設定としての使用があります。

[訳者コメント: If used以下の文はかなり意訳しています。]
The session attributes key under which the user's selected java.util.Locale is stored, if any. If no such attribute is found, the system default locale will be used when retrieving internationalized messages. If used, this attribute is typically set during user login processing.

関連項目:
定数フィールド値

MAPPING_KEY

public static final java.lang.String MAPPING_KEY

org.apache.struts.ActionMappingインスタンスを渡すリクエスト属性のキー。

The request attributes key under which our org.apache.struts.ActionMapping instance is passed.

関連項目:
定数フィールド値

MESSAGE_KEY

public static final java.lang.String MESSAGE_KEY

対応するカスタムタグライブラリ要素を使用している場合、 アクションがorg.apache.struts.action.ActionMessagesオブジェクトを格納するリクエスト属性のキー。

The request attributes key under which your action should store an org.apache.struts.action.ActionMessages object, if you are using the corresponding custom tag library elements.

導入されたバージョン:
Struts 1.1
関連項目:
定数フィールド値

MESSAGES_KEY

public static final java.lang.String MESSAGES_KEY

モジュールのMessageResourcesが格納されるコンテキスト属性キーのベース。 実際の属性キーを形作る際に、 (先頭に"/"文字を含んだ)実モジュールのプレフィックスとしてこのベースは付け加えられます。

The base of the context attributes key under which our module MessageResources will be stored. This will be suffixed with the actual module prefix (including the leading "/" character) to form the actual resources key.

コントローラサーブレットにより処理される各リクエストのため、 現在処理中のリクエストURIにより選択されたモジュールのためのMessageResourcesオブジェクトもまた、 リクエスト属性としてこのキーに基づき公開されます。

For each request processed by the controller servlet, the MessageResources object for the module selected by the request URI currently being processed will also be exposed under this key as a request attribute.

関連項目:
定数フィールド値

MULTIPART_KEY

public static final java.lang.String MULTIPART_KEY

マルチパートクラスが格納されるリクエスト属性のキー。

The request attributes key under which our multipart class is stored.

関連項目:
定数フィールド値

PLUG_INS_KEY

public static final java.lang.String PLUG_INS_KEY

PlugInインスタンスの配列が格納されるコンテキスト属性キーのベース。 実際の属性キーを形作る際に、 (先頭に"/"文字を含んだ)実モジュールのプレフィックスとしてこのベースは付け加えられます。

The base of the context attributes key under which an array of PlugIn instances will be stored. This will be suffixed with the actual module prefix (including the leading "/" character) to form the actual attributes key.

導入されたバージョン:
Struts 1.1
関連項目:
定数フィールド値

REQUEST_PROCESSOR_KEY

public static final java.lang.String REQUEST_PROCESSOR_KEY

RequestProcessorインスタンスが格納されるコンテキスト属性キーのベース。 実際の属性キーを形作る際に、 (先頭に"/"文字を含んだ)実モジュールのプレフィックスとしてこのベースは付け加えられます。

The base of the context attributes key under which our RequestProcessor instance will be stored. This will be suffixed with the actual module prefix (including the leading "/" character) to form the actual attributes key.

導入されたバージョン:
Struts 1.1
関連項目:
定数フィールド値

SERVLET_KEY

public static final java.lang.String SERVLET_KEY

コントローラサーブレットで定義されたマッピングを格納するコンテキスト属性のキー。 これは、パスマップの形式(/action/*)か、 または拡張マップ形式(*.do)のいずれかとなります。

The context attributes key under which we store the mapping defined for our controller serlet, which will be either a path-mapped pattern (/action/*) or an extension mapped pattern (*.do).

関連項目:
定数フィールド値

TRANSACTION_TOKEN_KEY

public static final java.lang.String TRANSACTION_TOKEN_KEY

トランザクショントークンを使用する場合、

トランザクショントークンが格納されるセッション属性のキー。

The session attributes key under which our transaction token is stored, if it is used.

関連項目:
定数フィールド値

XHTML_KEY

public static final java.lang.String XHTML_KEY

xhtmlステータスを格納するページ属性のキー。 この値は、"true"または"false"となります。 trueが設定された時には、 htmlタグはxhtmlを出力します。

The page attributes key under which xhtml status is stored. This may be "true" or "false". When set to true, the html tags output xhtml.

導入されたバージョン:
Struts 1.1
関連項目:
定数フィールド値
コンストラクタの詳細

Globals

public Globals()


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