javax.xml.stream
Interface XMLEventWriter
- All Superinterfaces:
- XMLEventConsumer
- All Known Implementing Classes:
- XMLEventWriterImpl
public interface XMLEventWriter
- extends XMLEventConsumer
add
void add(XMLEvent event)
throws XMLStreamException
- Specified by:
add
in interface XMLEventConsumer
- Throws:
XMLStreamException
add
void add(XMLEventReader reader)
throws XMLStreamException
- Throws:
XMLStreamException
close
void close()
throws XMLStreamException
- Throws:
XMLStreamException
flush
void flush()
throws XMLStreamException
- Throws:
XMLStreamException
getNamespaceContext
javax.xml.namespace.NamespaceContext getNamespaceContext()
getPrefix
java.lang.String getPrefix(java.lang.String uri)
throws XMLStreamException
- Throws:
XMLStreamException
setDefaultNamespace
void setDefaultNamespace(java.lang.String uri)
throws XMLStreamException
- Throws:
XMLStreamException
setNamespaceContext
void setNamespaceContext(javax.xml.namespace.NamespaceContext context)
throws XMLStreamException
- Throws:
XMLStreamException
setPrefix
void setPrefix(java.lang.String prefix,
java.lang.String uri)
throws XMLStreamException
- Throws:
XMLStreamException