void |
XMLEventWriter.add(XMLEvent event) |
出力ストリームにイベントを追加します。START_ELEMENTを追加すると、新しい名前空間のスコープが開きます。これは、対応するEND_ELEMENTが書き込まれると閉じます。
|
void |
XMLEventWriter.add(XMLEventReader reader) |
ストリーム全体を出力ストリームに追加し、hasNext()がfalseを返すまでinputStream引数でnext()を呼び出します。これは、イベント・リーダー内のすべてのイベントに対する後続のループを実行し、各イベントでaddを呼び出すための便利な方法として使用するようにします。
|
void |
XMLEventReader.close() |
このリーダーに関連付けられているリソースをすべて解放します。
|
void |
XMLEventWriter.close() |
このストリームに関連付けられているリソースをすべて解放します。
|
void |
XMLStreamReader.close() |
このリーダーに関連付けられているリソースをすべて解放します。
|
void |
XMLStreamWriter.close() |
このライターを閉じて、ライターに関連付けられているリソースをすべて解放します。
|
abstract XMLEventReader |
XMLInputFactory.createFilteredReader(XMLEventReader reader, EventFilter filter) |
イベント・リーダーをフィルタでラップするフィルタ処理されたイベント・リーダーを作成します。
|
abstract XMLStreamReader |
XMLInputFactory.createFilteredReader(XMLStreamReader reader, StreamFilter filter) |
リーダーをフィルタでラップするフィルタ処理されたリーダーを作成します。
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(InputStream stream) |
java.io.InputStreamから新しいXMLEventReaderを作成します。
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(InputStream stream, String encoding) |
java.io.InputStreamから新しいXMLEventReaderを作成します。
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(Reader reader) |
リーダーから新しいXMLEventReaderを作成します。
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(String systemId, InputStream stream) |
java.io.InputStreamから新しいXMLEventReaderを作成します。
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(String systemId, Reader reader) |
リーダーから新しいXMLEventReaderを作成します。
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(XMLStreamReader reader) |
XMLStreamReaderから新しいXMLEventReaderを作成します。
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(Source source) |
JAXPソースから新しいXMLEventReaderを作成します。
|
abstract XMLEventWriter |
XMLOutputFactory.createXMLEventWriter(OutputStream stream) |
ストリームへの書込みを行う新しいXMLEventWriterを作成します。
|
abstract XMLEventWriter |
XMLOutputFactory.createXMLEventWriter(OutputStream stream, String encoding) |
ストリームへの書込みを行う新しいXMLEventWriterを作成します。
|
abstract XMLEventWriter |
XMLOutputFactory.createXMLEventWriter(Writer stream) |
ライターへの書込みを行う新しいXMLEventWriterを作成します。
|
abstract XMLEventWriter |
XMLOutputFactory.createXMLEventWriter(Result result) |
JAXP結果への書込みを行う新しいXMLEventWriterを作成します。
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(InputStream stream) |
java.io.InputStreamから新しいXMLStreamReaderを作成します。
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(InputStream stream, String encoding) |
java.io.InputStreamから新しいXMLStreamReaderを作成します。
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(Reader reader) |
リーダーから新しいXMLStreamReaderを作成します。
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(String systemId, InputStream stream) |
java.io.InputStreamから新しいXMLStreamReaderを作成します。
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(String systemId, Reader reader) |
java.io.InputStreamから新しいXMLStreamReaderを作成します。
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(Source source) |
JAXPソースから新しいXMLStreamReaderを作成します。
|
abstract XMLStreamWriter |
XMLOutputFactory.createXMLStreamWriter(OutputStream stream) |
ストリームへの書込みを行う新しいXMLStreamWriterを作成します。
|
abstract XMLStreamWriter |
XMLOutputFactory.createXMLStreamWriter(OutputStream stream, String encoding) |
ストリームへの書込みを行う新しいXMLStreamWriterを作成します。
|
abstract XMLStreamWriter |
XMLOutputFactory.createXMLStreamWriter(Writer stream) |
ライターへの書込みを行う新しいXMLStreamWriterを作成します。
|
abstract XMLStreamWriter |
XMLOutputFactory.createXMLStreamWriter(Result result) |
JAXP結果への書込みを行う新しいXMLStreamWriterを作成します。
|
void |
XMLEventWriter.flush() |
キャッシュに格納されたすべてのイベントを、ベースとなる出力メカニズムに書き込みます。
|
void |
XMLStreamWriter.flush() |
キャッシュに格納されたすべてのデータを、ベースとなる出力メカニズムに書き込みます。
|
String |
XMLEventReader.getElementText() |
テキストのみの要素のコンテンツを読み取ります。
|
String |
XMLStreamReader.getElementText() |
テキストのみの要素のコンテンツを読み取ります。テキストのみの要素でない場合は、例外がスローされます。
|
String |
XMLEventWriter.getPrefix(String uri) |
URIのバインド先の接頭辞を取得します。
|
String |
XMLStreamWriter.getPrefix(String uri) |
URIのバインド先の接頭辞を取得します。
|
int |
XMLStreamReader.getTextCharacters(int sourceStart, char[] target, int targetStart, int length) |
CHARACTERS、SPACE、またはCDATAイベントに関連付けられているテキストを取得します。
|
boolean |
XMLStreamReader.hasNext() |
構文解析イベントがまだある場合はtrue、そうでない場合はfalseを返します。
|
int |
XMLStreamReader.next() |
次の構文解析イベントを取得します。プロセッサは、連続する文字データをすべて単一のチャンクとして、またはいくつかのチャンクに分割して返します。
|
XMLEvent |
XMLEventReader.nextEvent() |
次のXMLEventを取得します。
|
XMLEvent |
XMLEventReader.nextTag() |
START_ELEMENTまたはEND_ELEMENTに達するまで、意味のない空白イベントをスキップします。
|
int |
XMLStreamReader.nextTag() |
START_ELEMENTまたはEND_ELEMENTに達するまで、すべての空白文字(isWhiteSpace()がtrueを返す)、COMMENT、またはPROCESSING_INSTRUCTIONをスキップします。
|
XMLEvent |
XMLEventReader.peek() |
次のXMLEventを調べます。ただし、ストリームから読み取ることはしません。
|
void |
XMLReporter.report(String message, String errorType, Object relatedInformation, Location location) |
目的のメッセージをアプリケーション固有の形式で報告します。
|
void |
XMLStreamReader.require(int type, String namespaceURI, String localName) |
現在のイベントが指定の型かどうか、名前空間と名前が現在のイベントの現在の名前空間と名前に一致するかどうかをテストします。
|
Object |
XMLResolver.resolveEntity(String publicID, String systemID, String baseURI, String namespace) |
リソースを取得します。
|
void |
XMLEventWriter.setDefaultNamespace(String uri) |
URIをデフォルトの名前空間にバインドします。このURIは、現在のSTART_ELEMENTとEND_ELEMENTのペアの範囲にバインドされます。
|
void |
XMLStreamWriter.setDefaultNamespace(String uri) |
URIをデフォルトの名前空間にバインドします。このURIは、現在のSTART_ELEMENTとEND_ELEMENTのペアの範囲にバインドされます。
|
void |
XMLEventWriter.setNamespaceContext(NamespaceContext context) |
接頭辞とURIのバインドに対して、現在の名前空間コンテキストを設定します。
|
void |
XMLStreamWriter.setNamespaceContext(NamespaceContext context) |
接頭辞とURIのバインドに対して、現在の名前空間コンテキストを設定します。
|
void |
XMLEventWriter.setPrefix(String prefix, String uri) |
URIのバインド先の接頭辞を設定します。
|
void |
XMLStreamWriter.setPrefix(String prefix, String uri) |
URIのバインド先の接頭辞を設定します。
|
void |
XMLStreamWriter.writeAttribute(String localName, String value) |
属性を出力ストリームに書き込みます。接頭辞は書き込まれません。
|
void |
XMLStreamWriter.writeAttribute(String namespaceURI, String localName, String value) |
属性を出力ストリームに書き込みます。
|
void |
XMLStreamWriter.writeAttribute(String prefix, String namespaceURI, String localName, String value) |
属性を出力ストリームに書き込みます。
|
void |
XMLStreamWriter.writeCData(String data) |
CDataセクションを書き込みます。
|
void |
XMLStreamWriter.writeCharacters(char[] text, int start, int len) |
出力にテキストを書き込みます。
|
void |
XMLStreamWriter.writeCharacters(String text) |
出力にテキストを書き込みます。
|
void |
XMLStreamWriter.writeComment(String data) |
コメント・アウトされたデータを使用してXMLコメントを書き込みます。
|
void |
XMLStreamWriter.writeDefaultNamespace(String namespaceURI) |
出力ストリームにデフォルトの名前空間を書き込みます。
|
void |
XMLStreamWriter.writeDTD(String dtd) |
DTDセクションを書き込みます。
|
void |
XMLStreamWriter.writeEmptyElement(String localName) |
出力に空の要素タグを書き込みます。
|
void |
XMLStreamWriter.writeEmptyElement(String namespaceURI, String localName) |
出力に空の要素タグを書き込みます。
|
void |
XMLStreamWriter.writeEmptyElement(String prefix, String localName, String namespaceURI) |
出力に空の要素タグを書き込みます。
|
void |
XMLStreamWriter.writeEndDocument() |
すべての開始タグを閉じて、対応する終了タグを書き込みます。
|
void |
XMLStreamWriter.writeEndElement() |
出力に終了タグを書き込みます。イベントの接頭辞とローカル名の判別はライターの内部状態に依存します。
|
void |
XMLStreamWriter.writeEntityRef(String name) |
エンティティ参照を書き込みます。
|
void |
XMLStreamWriter.writeNamespace(String prefix, String namespaceURI) |
出力ストリームに名前空間を書き込みます。このメソッドの接頭辞引数が空の文字列、「xmlns」、またはnullの場合、このメソッドはwriteDefaultNamespaceに委譲します。
|
void |
XMLStreamWriter.writeProcessingInstruction(String target) |
処理命令を書き込みます。
|
void |
XMLStreamWriter.writeProcessingInstruction(String target, String data) |
処理命令を書き込みます。
|
void |
XMLStreamWriter.writeStartDocument() |
XML宣言を書き込みます。
|
void |
XMLStreamWriter.writeStartDocument(String version) |
XML宣言を書き込みます。
|
void |
XMLStreamWriter.writeStartDocument(String encoding, String version) |
XML宣言を書き込みます。
|
void |
XMLStreamWriter.writeStartElement(String localName) |
出力に開始タグを書き込みます。
|
void |
XMLStreamWriter.writeStartElement(String namespaceURI, String localName) |
出力に開始タグを書き込みます。
|
void |
XMLStreamWriter.writeStartElement(String prefix, String localName, String namespaceURI) |
出力に開始タグを書き込みます。
|