インタフェース
javax.xml.stream.Locationの使用
-
Locationを使用しているパッケージ パッケージ 説明 javax.xml.stream Streaming API for XML (StAX)のインタフェースとクラスを定義します。javax.xml.stream.events Streaming API for XML (StAX)のイベント・インタフェースを定義します。 -
-
javax.xml.streamでのLocationの使用
Locationとして宣言されているjavax.xml.stream内のフィールド 修飾子と型 フィールド 説明 protected Location
XMLStreamException. location
Locationを返すjavax.xml.stream内のメソッド 修飾子と型 メソッド 説明 Location
XMLStreamException. getLocation()
例外の場所を取得します。Location
XMLStreamReader. getLocation()
プロセッサの現在の位置を返します。Location型のパラメータを持つjavax.xml.stream内のメソッド 修飾子と型 メソッド 説明 void
XMLReporter. report(String message, String errorType, Object relatedInformation, Location location)
目的のメッセージをアプリケーション固有の形式で報告します。abstract void
XMLEventFactory. setLocation(Location location)
このメソッドを使用すると、このファクトリによって作成された各イベントでLocationを設定できます。Location型のパラメータを持つjavax.xml.stream内のコンストラクタ コンストラクタ 説明 XMLStreamException(String msg, Location location)
メッセージ、例外、および場所が関連付けられている例外を構築します。XMLStreamException(String msg, Location location, Throwable th)
メッセージ、例外、および場所が関連付けられている例外を構築します。 -
javax.xml.stream.eventsでのLocationの使用
Locationを返すjavax.xml.stream.events内のメソッド 修飾子と型 メソッド 説明 Location
XMLEvent. getLocation()
このイベントの位置を返します。
-