public class RenderingContext extends ObjectSE
ScriptTemplateView レンダー関数に渡されるコンテキスト。| コンストラクターと説明 |
|---|
RenderingContext(ApplicationContext applicationContext, LocaleSE locale, FunctionSE<StringSE, StringSE> templateLoader, StringSE url) 新しい RenderingContext を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
ApplicationContext | getApplicationContext() アプリケーションコンテキストを返します。 |
LocaleSE | getLocale() レンダリングされたテンプレートのロケールを返します。 |
FunctionSE<StringSE, StringSE> | getTemplateLoader() テンプレートパスを入力として受け取り、テンプレートの内容を文字列として返す関数を返します。 |
StringSE | getUrl() レンダリングされたテンプレートの URL を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic RenderingContext(ApplicationContext applicationContext, LocaleSE locale, FunctionSE<StringSE,StringSE> templateLoader, StringSE url)
RenderingContext を作成します。applicationContext - アプリケーションコンテキスト locale - レンダリングされたテンプレートのロケール templateLoader - 入力としてテンプレートパスを受け取り、テンプレートの内容を文字列として返す関数 url - レンダリングされたテンプレートの URLpublic ApplicationContext getApplicationContext()
public LocaleSE getLocale()
public FunctionSE<StringSE,StringSE> getTemplateLoader()
public StringSE getUrl()