public class CachingXmlEventWriter extends Object implements XMLStreamWriter
Modifier and Type | Class and Description |
---|---|
static class |
CachingXmlEventWriter.NSContext |
Modifier and Type | Field and Description |
---|---|
protected XMLEventFactory |
factory |
Constructor and Description |
---|
CachingXmlEventWriter() |
protected XMLEventFactory factory
protected void addEvent(XMLEvent event)
public void close() throws XMLStreamException
close
in interface XMLStreamWriter
XMLStreamException
public void flush() throws XMLStreamException
flush
in interface XMLStreamWriter
XMLStreamException
public NamespaceContext getNamespaceContext()
getNamespaceContext
in interface XMLStreamWriter
public String getPrefix(String ns) throws XMLStreamException
getPrefix
in interface XMLStreamWriter
XMLStreamException
public Object getProperty(String arg0) throws IllegalArgumentException
getProperty
in interface XMLStreamWriter
IllegalArgumentException
public void setNamespaceContext(NamespaceContext arg0) throws XMLStreamException
setNamespaceContext
in interface XMLStreamWriter
XMLStreamException
public void writeAttribute(String name, String value) throws XMLStreamException
writeAttribute
in interface XMLStreamWriter
XMLStreamException
public void writeAttribute(String pfx, String uri, String name, String value) throws XMLStreamException
writeAttribute
in interface XMLStreamWriter
XMLStreamException
public void writeCData(String arg0) throws XMLStreamException
writeCData
in interface XMLStreamWriter
XMLStreamException
public void writeCharacters(String arg0) throws XMLStreamException
writeCharacters
in interface XMLStreamWriter
XMLStreamException
public void writeCharacters(char[] arg0, int arg1, int arg2) throws XMLStreamException
writeCharacters
in interface XMLStreamWriter
XMLStreamException
public void writeComment(String arg0) throws XMLStreamException
writeComment
in interface XMLStreamWriter
XMLStreamException
public void writeDTD(String arg0) throws XMLStreamException
writeDTD
in interface XMLStreamWriter
XMLStreamException
public void writeEndDocument() throws XMLStreamException
writeEndDocument
in interface XMLStreamWriter
XMLStreamException
public void writeEntityRef(String arg0) throws XMLStreamException
writeEntityRef
in interface XMLStreamWriter
XMLStreamException
public void writeProcessingInstruction(String arg0) throws XMLStreamException
writeProcessingInstruction
in interface XMLStreamWriter
XMLStreamException
public void writeProcessingInstruction(String arg0, String arg1) throws XMLStreamException
writeProcessingInstruction
in interface XMLStreamWriter
XMLStreamException
public void writeStartDocument() throws XMLStreamException
writeStartDocument
in interface XMLStreamWriter
XMLStreamException
public void writeStartDocument(String version) throws XMLStreamException
writeStartDocument
in interface XMLStreamWriter
XMLStreamException
public void writeStartDocument(String arg0, String arg1) throws XMLStreamException
writeStartDocument
in interface XMLStreamWriter
XMLStreamException
public void setDefaultNamespace(String ns) throws XMLStreamException
setDefaultNamespace
in interface XMLStreamWriter
XMLStreamException
public void writeNamespace(String pfx, String ns) throws XMLStreamException
writeNamespace
in interface XMLStreamWriter
XMLStreamException
public void writeAttribute(String uri, String name, String value) throws XMLStreamException
writeAttribute
in interface XMLStreamWriter
XMLStreamException
public void setPrefix(String pfx, String uri) throws XMLStreamException
setPrefix
in interface XMLStreamWriter
XMLStreamException
public void writeEndElement() throws XMLStreamException
writeEndElement
in interface XMLStreamWriter
XMLStreamException
public void writeDefaultNamespace(String ns) throws XMLStreamException
writeDefaultNamespace
in interface XMLStreamWriter
XMLStreamException
public void writeEmptyElement(String name) throws XMLStreamException
writeEmptyElement
in interface XMLStreamWriter
XMLStreamException
public void writeEmptyElement(String name, String ns) throws XMLStreamException
writeEmptyElement
in interface XMLStreamWriter
XMLStreamException
public void writeEmptyElement(String pfx, String name, String ns) throws XMLStreamException
writeEmptyElement
in interface XMLStreamWriter
XMLStreamException
public void writeStartElement(String name) throws XMLStreamException
writeStartElement
in interface XMLStreamWriter
XMLStreamException
public void writeStartElement(String name, String ns) throws XMLStreamException
writeStartElement
in interface XMLStreamWriter
XMLStreamException
public void writeStartElement(String pfx, String name, String ns) throws XMLStreamException
writeStartElement
in interface XMLStreamWriter
XMLStreamException
Apache CXF