The standard-examples application included with this distribution demonstrates the current capabilities of JSTL, exploring idioms and usage patterns when appropriate.
目的に合わせた用法を詳しく知るために、現時点の JSTL が備える機能のデモンストレーションを行う、 standard-example というアプリケーションが含まれます。
Every effort has been made to provide a functional, robust, and speedy implementation of JSTL. For developers, the code is commented thoroughly to help provide an understanding of design considerations and salient implementation details.
Classes in any of the subpackages of javax.servlet.jsp.jstl represent JSTL API classes. Classes under org.apache.* represent implementation classes. The implementation's package structure is organized as follows:
org.apache.taglibs.standard
.tag tag handlers and routines related to them
.common handlers and support routines common for RT/EL attributes
.core core library (common)
.fmt i18n-capable formatting tags (common)
.xml XML manipulation library (common)
.sql SQL library (common)
.el handlers specific to expression language (EL) evaluation
.core core library (EL)
.fmt i18n-capable formatting tags (EL)
.xml XML manipulation library (EL)
.sql SQL library (EL)
.rt handlers specific to rtexprvalue (rt) evaluation
.core core library (rt)
.fmt i18n-capable formatting tags (rt)
.xml XML manipulation library (rt)
.sql SQL library (rt)
.functions EL Functions library
.tei TagExtraInfo classes (common to both libraries)
.tlv TagLibraryValidator classes (and associated helpers)
.lang expression-language support and implementation
.support ExpressionEvaluator, ExpressionEvaluatorManager
.jstl JSTL 1.0 expression language
.resources Resources for internationalization
The javax.servlet.jsp.jstl.* tree is discussed in the JSTL specification.
実用的で強固、かつ快適な JSTL を提供するためには、いかなる努力をも惜しまなかったつもりです。また、開発者の皆さんに、設計思想と実装の詳細を理解してもらえるよう、ソースコードにはコメントを徹底的に書き込んであります。
javax.servlet.jsp.jstl のサブパッケージに含まれるクラスは、いずれも JSTL API クラスに相当します。 org.apache.* 以下のクラスが実装となります。この実装パッケージの構成は、以下のとおりです。:
org.apache.taglibs.standard
.tag タグハンドラとその関連ルーチン群
.common RT/EL 属性に共通のタグハンドラとそのサポートルーチン
.core コアライブラリ (common)
.fmt 国際化と書式タグ (common)
.xml XML 操作ライブラリ (common)
.sql SQL ライブラリ (common)
.el 式言語 (EL) を評価する特別なタグハンドラ
.core コアライブラリ (EL)
.fmt 国際化と書式タグ (EL)
.xml XML 操作ライブラリ (EL)
.sql SQL ライブラリ (EL)
.rt 要求時属性値 (rt) を評価する特別なタグハンドラ
.core コアライブラリ (rt)
.fmt 国際化と書式タグ (rt)
.xml XML 操作ライブラリ (rt)
.sql SQL ライブラリ (rt)
.functions 式言語 (EL) 関数ライブラリ
.tei TagExtraInfo クラス (両ライブラリ共通)
.tlv TagLibraryValidator クラス (ヘルパー関連)
.lang 式言語のサポートと実装
.support ExpressionEvaluator クラスと ExpressionEvaluatorManager クラス
.jstl JSTL 1.0 式言語
.resources 国際化のためのリソース
javax.servlet.jsp.jstl.* の階層は JSTL 仕様書で策定されています。
Enjoy!
-- Shawn Bayern <bayern@essentially.net>
(on behalf of JSR-052 (JSTL) Expert Group)
それでは、存分に活用して下さい!
-- Shawn Bayern <bayern@essentially.net>
( JSR-052 (JSTL) Expert Group の代表者 )
[ 訳注: これは、中島 乃造が翻訳しました。日本語訳に対するコメントがあれば、 report@jajakarta.org に送って下さい。 ]