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 XMLStreamWriterXMLStreamExceptionpublic void flush()
throws XMLStreamException
flush in interface XMLStreamWriterXMLStreamExceptionpublic NamespaceContext getNamespaceContext()
getNamespaceContext in interface XMLStreamWriterpublic String getPrefix(String ns) throws XMLStreamException
getPrefix in interface XMLStreamWriterXMLStreamExceptionpublic Object getProperty(String name)
getProperty in interface XMLStreamWriterpublic void setNamespaceContext(NamespaceContext arg0) throws XMLStreamException
setNamespaceContext in interface XMLStreamWriterXMLStreamExceptionpublic void writeAttribute(String name, String value) throws XMLStreamException
writeAttribute in interface XMLStreamWriterXMLStreamExceptionpublic void writeAttribute(String pfx, String uri, String name, String value) throws XMLStreamException
writeAttribute in interface XMLStreamWriterXMLStreamExceptionpublic void writeCData(String arg0) throws XMLStreamException
writeCData in interface XMLStreamWriterXMLStreamExceptionpublic void writeCharacters(String arg0) throws XMLStreamException
writeCharacters in interface XMLStreamWriterXMLStreamExceptionpublic void writeCharacters(char[] arg0,
int arg1,
int arg2)
throws XMLStreamException
writeCharacters in interface XMLStreamWriterXMLStreamExceptionpublic void writeComment(String arg0) throws XMLStreamException
writeComment in interface XMLStreamWriterXMLStreamExceptionpublic void writeDTD(String arg0) throws XMLStreamException
writeDTD in interface XMLStreamWriterXMLStreamExceptionpublic void writeEndDocument()
throws XMLStreamException
writeEndDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeEntityRef(String arg0) throws XMLStreamException
writeEntityRef in interface XMLStreamWriterXMLStreamExceptionpublic void writeProcessingInstruction(String arg0) throws XMLStreamException
writeProcessingInstruction in interface XMLStreamWriterXMLStreamExceptionpublic void writeProcessingInstruction(String arg0, String arg1) throws XMLStreamException
writeProcessingInstruction in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartDocument()
throws XMLStreamException
writeStartDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartDocument(String version) throws XMLStreamException
writeStartDocument in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartDocument(String arg0, String arg1) throws XMLStreamException
writeStartDocument in interface XMLStreamWriterXMLStreamExceptionpublic void setDefaultNamespace(String ns) throws XMLStreamException
setDefaultNamespace in interface XMLStreamWriterXMLStreamExceptionpublic void writeNamespace(String pfx, String ns) throws XMLStreamException
writeNamespace in interface XMLStreamWriterXMLStreamExceptionpublic void writeAttribute(String uri, String name, String value) throws XMLStreamException
writeAttribute in interface XMLStreamWriterXMLStreamExceptionpublic void setPrefix(String pfx, String uri) throws XMLStreamException
setPrefix in interface XMLStreamWriterXMLStreamExceptionpublic void writeEndElement()
throws XMLStreamException
writeEndElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeDefaultNamespace(String ns) throws XMLStreamException
writeDefaultNamespace in interface XMLStreamWriterXMLStreamExceptionpublic void writeEmptyElement(String name) throws XMLStreamException
writeEmptyElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEmptyElement(String name, String ns) throws XMLStreamException
writeEmptyElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeEmptyElement(String pfx, String name, String ns) throws XMLStreamException
writeEmptyElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String name) throws XMLStreamException
writeStartElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String name, String ns) throws XMLStreamException
writeStartElement in interface XMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String pfx, String name, String ns) throws XMLStreamException
writeStartElement in interface XMLStreamWriterXMLStreamExceptionApache CXF