|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectinfo.dragonlady.scriptlet.ESEngine
public class ESEngine
サーバサイドスクリプトの初期読み込み、およびシリンダの実行要求を行う、
フレームワークの中核クラス
Scriptletクラスからは、必ずexecuteScript関数を呼出す必要があります。
フィールドの概要 | |
---|---|
protected static java.lang.String |
serverScriptEndTag
|
protected static java.lang.String |
serverScriptTag
|
protected static java.lang.String |
serverValidationEndTag
|
protected static java.lang.String |
serverValidationTag
|
メソッドの概要 | |
---|---|
protected info.dragonlady.scriptlet.ESEngine.HtmlParser |
craeteHtmlParser(ESCylinder cylinder,
Scriptlet scriptlet)
内部非公開クラスHtmlParserを生成する関数 |
static void |
exceptionProc(Scriptlet scriptlet,
java.lang.Exception e)
エラー処理時のスクリプトを実行する関数 例外発生時のスクリプトファイル名:サーブレット名_error.ses サーブレット名はweb.xmlに定義されたurl-pattern要素内の値 |
static void |
executeScript(Scriptlet scriptlet)
サーバサイドスクリプトを実行する関数 初期化時のスクリプトファイル名:サーブレット名_init.ses 処理実行時のスクリプトファイル名:サーブレット名_exec.ses 例外発生時のスクリプトファイル名:サーブレット名_error.ses サーブレット名はweb.xmlに定義されたurl-pattern要素内の値 |
protected void |
initialize(java.lang.String basePath)
このクラスのインスタンス生成時に一度だけ実行される初期化関数 |
protected java.lang.String |
loadScript(java.io.File file)
サーバサイドスクリプトを読み込む関数 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static final java.lang.String serverScriptTag
protected static final java.lang.String serverValidationTag
protected static final java.lang.String serverScriptEndTag
protected static final java.lang.String serverValidationEndTag
メソッドの詳細 |
---|
protected final info.dragonlady.scriptlet.ESEngine.HtmlParser craeteHtmlParser(ESCylinder cylinder, Scriptlet scriptlet) throws java.io.IOException
cylinder:生成したシリンダ
- scriptlet:呼び出し元のスクリプトレット
-
java.io.IOException
protected final java.lang.String loadScript(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException
file:サーバサイドスクリプトのファイル
-
java.io.FileNotFoundException
java.io.IOException
protected void initialize(java.lang.String basePath) throws java.io.FileNotFoundException, java.io.IOException
basePath:サーバサイドスクリプトの格納パス
-
java.io.FileNotFoundException
java.io.IOException
public static void executeScript(Scriptlet scriptlet) throws ESException
scriptlet:呼び出し元のスクリプトレット
-
ESException
public static void exceptionProc(Scriptlet scriptlet, java.lang.Exception e) throws ESException
scriptlet:呼び出し元のスクリプトレット
- e:スクリプトに渡したい例外オブジェクト
-
ESException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |