public interface XMLEventWriter extends XMLEventConsumer
Modifier and Type | Method and Description |
---|---|
void |
add(XMLEvent event) |
void |
add(XMLEventReader reader) |
void |
close() |
void |
flush() |
javax.xml.namespace.NamespaceContext |
getNamespaceContext() |
java.lang.String |
getPrefix(java.lang.String uri) |
void |
setDefaultNamespace(java.lang.String uri) |
void |
setNamespaceContext(javax.xml.namespace.NamespaceContext context) |
void |
setPrefix(java.lang.String prefix,
java.lang.String uri) |
void add(XMLEvent event) throws XMLStreamException
add
in interface XMLEventConsumer
XMLStreamException
void add(XMLEventReader reader) throws XMLStreamException
XMLStreamException
void close() throws XMLStreamException
XMLStreamException
void flush() throws XMLStreamException
XMLStreamException
javax.xml.namespace.NamespaceContext getNamespaceContext()
java.lang.String getPrefix(java.lang.String uri) throws XMLStreamException
XMLStreamException
void setDefaultNamespace(java.lang.String uri) throws XMLStreamException
XMLStreamException
void setNamespaceContext(javax.xml.namespace.NamespaceContext context) throws XMLStreamException
XMLStreamException
void setPrefix(java.lang.String prefix, java.lang.String uri) throws XMLStreamException
XMLStreamException