javax.xml.stream
Interface XMLEventWriter
- All Superinterfaces:
- XMLEventConsumer
- public interface XMLEventWriter
- extends XMLEventConsumer
add
public void add(XMLEvent event)
throws XMLStreamException
- Specified by:
add
in interface XMLEventConsumer
- Throws:
XMLStreamException
add
public void add(XMLEventReader reader)
throws XMLStreamException
- Throws:
XMLStreamException
close
public void close()
throws XMLStreamException
- Throws:
XMLStreamException
flush
public void flush()
throws XMLStreamException
- Throws:
XMLStreamException
getNamespaceContext
public NamespaceContext getNamespaceContext()
getPrefix
public java.lang.String getPrefix(java.lang.String uri)
throws XMLStreamException
- Throws:
XMLStreamException
setDefaultNamespace
public void setDefaultNamespace(java.lang.String uri)
throws XMLStreamException
- Throws:
XMLStreamException
setNamespaceContext
public void setNamespaceContext(NamespaceContext context)
throws XMLStreamException
- Throws:
XMLStreamException
setPrefix
public void setPrefix(java.lang.String prefix,
java.lang.String uri)
throws XMLStreamException
- Throws:
XMLStreamException
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.