インタフェース
javax.xml.transform.SourceLocatorの使用
-
SourceLocatorを使用するパッケージ パッケージ 説明 javax.xml.transform 変換命令の処理、およびソースから結果への変換を実行するための汎用APIを定義します。javax.xml.transform.dom DOM固有の変換クラスを提供します。 -
-
javax.xml.transformでのSourceLocatorの使用
SourceLocatorを返すjavax.xml.transform内のメソッド 修飾子と型 メソッド 説明 SourceLocator
TransformerException. getLocator()
メソッドgetLocatorは、エラーが発生した場所を指定するSourceLocatorオブジェクトのインスタンスを取得します。SourceLocator型のパラメータを持つjavax.xml.transform内のメソッド 修飾子と型 メソッド 説明 void
TransformerException. setLocator(SourceLocator location)
メソッドsetLocatorは、エラーが発生した場所を指定するSourceLocatorオブジェクトのインスタンスを設定します。SourceLocator型のパラメータを持つjavax.xml.transform内のコンストラクタ コンストラクタ 説明 TransformerConfigurationException(String message, SourceLocator locator)
メッセージとロケータから新しいTransformerConfigurationExceptionを作成します。TransformerConfigurationException(String message, SourceLocator locator, Throwable e)
既存の例外をTransformerConfigurationExceptionにラップします。TransformerException(String message, SourceLocator locator)
メッセージとロケータから新しいTransformerExceptionを作成します。TransformerException(String message, SourceLocator locator, Throwable e)
既存の例外をTransformerExceptionにラップします。 -
javax.xml.transform.domでのSourceLocatorの使用
javax.xml.transform.dom内のSourceLocatorのサブインタフェース 修飾子と型 インタフェース 説明 interface
DOMLocator
ソースDOM内のノードの位置を示し、主にエラー・レポートを目的としています。
-