パッケージ | 説明 |
---|---|
org.springframework.ui.context | UI アプリケーションのアプリケーションコンテキストサブインターフェースを定義するクラスが含まれています。 |
org.springframework.ui.context.support | org.springframework.ui.context パッケージをサポートするクラス。 |
org.springframework.web.context.support | WebApplicationContext 実装やさまざまなユーティリティクラスなど、 org.springframework.web.context パッケージをサポートするクラス。 |
org.springframework.web.servlet.support | Spring の Web MVC フレームワークのサポートクラス。 |
修飾子と型 | メソッドと説明 |
---|---|
Theme | ThemeSource.getTheme(StringSE themeName) 指定されたテーマ名のテーマインスタンスを返します。 |
修飾子と型 | クラスと説明 |
---|---|
class | SimpleTheme 名前と基になる MessageSource をラップするデフォルトの Theme 実装。 |
修飾子と型 | メソッドと説明 |
---|---|
Theme | DelegatingThemeSource.getTheme(StringSE themeName) |
Theme | ResourceBundleThemeSource.getTheme(StringSE themeName) この実装は、SimpleTheme インスタンスを返し、ResourceBundle ベースの MessageSource を保持します。そのベース名は、指定されたテーマ名(設定された "basenamePrefix" で始まる)に対応しています。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | ResourceBundleThemeSource.initParent(Theme theme) 指定されたテーマの MessageSource を、この ThemeSource の対応する親からのもので初期化します。 |
修飾子と型 | メソッドと説明 |
---|---|
Theme | AbstractRefreshableWebApplicationContext.getTheme(StringSE themeName) |
Theme | StaticWebApplicationContext.getTheme(StringSE themeName) |
Theme | GenericWebApplicationContext.getTheme(StringSE themeName) |
修飾子と型 | メソッドと説明 |
---|---|
protected Theme | RequestContext.getFallbackTheme() このコンテキストのフォールバックテーマを決定します。 |
Theme | RequestContext.getTheme() 現在のテーマを返します(決して null ではありません)。 |
static Theme | RequestContextUtils.getTheme(HttpServletRequestEE request) DispatcherServlet によってリクエストにバインドされた ThemeResolver および ThemeSource を使用して、指定されたリクエストから現在のテーマを取得します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | RequestContext.changeTheme(Theme theme) 現在のテーマを指定されたテーマに変更し、構成された ThemeResolver を通じて新しいテーマ名を保存します。 |