クラス TraxUtils
java.lang.ObjectSE
org.springframework.xml.transform.TraxUtils
TrAX を処理するための便利なユーティリティメソッド。
- 導入:
- 1.5.0
- 作成者:
- Arjen Poutsma
ネストされたクラスの概要
ネストされたクラスコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明static voiddoWithResult(ResultSE result, TraxUtils.ResultCallback callback) ResultSE で指定されたコールバック操作を実行します。static voiddoWithSource(SourceSE source, TraxUtils.SourceCallback callback) SourceSE で指定されたコールバック操作を実行します。static DocumentSEgetDocument(DOMSourceSE source) 指定されたDOMSourceSE のDocumentSE を返します。
コンストラクターの詳細
TraxUtils
public TraxUtils()
メソッドの詳細
getDocument
指定されたDOMSourceSE のDocumentSE を返します。- パラメーター:
source- DOM ソース- 戻り値:
- ドキュメント
doWithSource
public static void doWithSource(SourceSE source, TraxUtils.SourceCallback callback) throws ExceptionSE - パラメーター:
source- 見るべき情報源callback- ソースの種類ごとに呼び出すコールバック- 例外:
ExceptionSE
doWithResult
public static void doWithResult(ResultSE result, TraxUtils.ResultCallback callback) throws ExceptionSE - パラメーター:
result- 見る結果callback- 結果の種類ごとに呼び出すコールバック- 例外:
ExceptionSE