public interface XMLStreamWriter
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
NamespaceContext |
getNamespaceContext() |
java.lang.String |
getPrefix(java.lang.String uri) |
java.lang.Object |
getProperty(java.lang.String name) |
void |
setDefaultNamespace(java.lang.String uri) |
void |
setNamespaceContext(NamespaceContext context) |
void |
setPrefix(java.lang.String prefix,
java.lang.String uri) |
void |
writeAttribute(java.lang.String localName,
java.lang.String value) |
void |
writeAttribute(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String value) |
void |
writeAttribute(java.lang.String prefix,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String value) |
void |
writeCData(java.lang.String data) |
void |
writeCharacters(char[] text,
int start,
int len) |
void |
writeCharacters(java.lang.String text) |
void |
writeComment(java.lang.String data) |
void |
writeDefaultNamespace(java.lang.String namespaceURI) |
void |
writeDTD(java.lang.String dtd) |
void |
writeEmptyElement(java.lang.String localName) |
void |
writeEmptyElement(java.lang.String namespaceURI,
java.lang.String localName) |
void |
writeEmptyElement(java.lang.String prefix,
java.lang.String localName,
java.lang.String namespaceURI) |
void |
writeEndDocument() |
void |
writeEndElement() |
void |
writeEntityRef(java.lang.String name) |
void |
writeNamespace(java.lang.String prefix,
java.lang.String namespaceURI) |
void |
writeProcessingInstruction(java.lang.String target) |
void |
writeProcessingInstruction(java.lang.String target,
java.lang.String data) |
void |
writeStartDocument() |
void |
writeStartDocument(java.lang.String version) |
void |
writeStartDocument(java.lang.String encoding,
java.lang.String version) |
void |
writeStartElement(java.lang.String localName) |
void |
writeStartElement(java.lang.String namespaceURI,
java.lang.String localName) |
void |
writeStartElement(java.lang.String prefix,
java.lang.String localName,
java.lang.String namespaceURI) |
void close() throws XMLStreamException
XMLStreamException
void flush() throws XMLStreamException
XMLStreamException
NamespaceContext getNamespaceContext()
java.lang.String getPrefix(java.lang.String uri) throws XMLStreamException
XMLStreamException
java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
void setDefaultNamespace(java.lang.String uri) throws XMLStreamException
XMLStreamException
void setNamespaceContext(NamespaceContext context) throws XMLStreamException
XMLStreamException
void setPrefix(java.lang.String prefix, java.lang.String uri) throws XMLStreamException
XMLStreamException
void writeAttribute(java.lang.String localName, java.lang.String value) throws XMLStreamException
XMLStreamException
void writeAttribute(java.lang.String namespaceURI, java.lang.String localName, java.lang.String value) throws XMLStreamException
XMLStreamException
void writeAttribute(java.lang.String prefix, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value) throws XMLStreamException
XMLStreamException
void writeCData(java.lang.String data) throws XMLStreamException
XMLStreamException
void writeCharacters(char[] text, int start, int len) throws XMLStreamException
XMLStreamException
void writeCharacters(java.lang.String text) throws XMLStreamException
XMLStreamException
void writeComment(java.lang.String data) throws XMLStreamException
XMLStreamException
void writeDefaultNamespace(java.lang.String namespaceURI) throws XMLStreamException
XMLStreamException
void writeDTD(java.lang.String dtd) throws XMLStreamException
XMLStreamException
void writeEmptyElement(java.lang.String localName) throws XMLStreamException
XMLStreamException
void writeEmptyElement(java.lang.String namespaceURI, java.lang.String localName) throws XMLStreamException
XMLStreamException
void writeEmptyElement(java.lang.String prefix, java.lang.String localName, java.lang.String namespaceURI) throws XMLStreamException
XMLStreamException
void writeEndDocument() throws XMLStreamException
XMLStreamException
void writeEndElement() throws XMLStreamException
XMLStreamException
void writeEntityRef(java.lang.String name) throws XMLStreamException
XMLStreamException
void writeNamespace(java.lang.String prefix, java.lang.String namespaceURI) throws XMLStreamException
XMLStreamException
void writeProcessingInstruction(java.lang.String target) throws XMLStreamException
XMLStreamException
void writeProcessingInstruction(java.lang.String target, java.lang.String data) throws XMLStreamException
XMLStreamException
void writeStartDocument() throws XMLStreamException
XMLStreamException
void writeStartDocument(java.lang.String version) throws XMLStreamException
XMLStreamException
void writeStartDocument(java.lang.String encoding, java.lang.String version) throws XMLStreamException
XMLStreamException
void writeStartElement(java.lang.String localName) throws XMLStreamException
XMLStreamException
void writeStartElement(java.lang.String namespaceURI, java.lang.String localName) throws XMLStreamException
XMLStreamException
void writeStartElement(java.lang.String prefix, java.lang.String localName, java.lang.String namespaceURI) throws XMLStreamException
XMLStreamException
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.