Package org.apache.cxf.staxutils
Class CachingXmlEventWriter
- java.lang.Object
- 
- org.apache.cxf.staxutils.CachingXmlEventWriter
 
- 
- All Implemented Interfaces:
- XMLStreamWriter
 
 public class CachingXmlEventWriter extends Object implements XMLStreamWriter 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCachingXmlEventWriter.NSContext
 - 
Field SummaryFields Modifier and Type Field Description protected XMLEventFactoryfactory
 - 
Constructor SummaryConstructors Constructor Description CachingXmlEventWriter()
 - 
Method Summary
 
- 
- 
- 
Field Detail- 
factoryprotected XMLEventFactory factory 
 
- 
 - 
Method Detail- 
addEventprotected void addEvent(XMLEvent event) 
 - 
closepublic void close() throws XMLStreamException- Specified by:
- closein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
flushpublic void flush() throws XMLStreamException- Specified by:
- flushin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
getNamespaceContextpublic NamespaceContext getNamespaceContext() - Specified by:
- getNamespaceContextin interface- XMLStreamWriter
 
 - 
getPrefixpublic String getPrefix(String ns) throws XMLStreamException - Specified by:
- getPrefixin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
getPropertypublic Object getProperty(String name) - Specified by:
- getPropertyin interface- XMLStreamWriter
 
 - 
setNamespaceContextpublic void setNamespaceContext(NamespaceContext arg0) throws XMLStreamException - Specified by:
- setNamespaceContextin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeAttributepublic void writeAttribute(String name, String value) throws XMLStreamException - Specified by:
- writeAttributein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeAttributepublic void writeAttribute(String pfx, String uri, String name, String value) throws XMLStreamException - Specified by:
- writeAttributein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeCDatapublic void writeCData(String arg0) throws XMLStreamException - Specified by:
- writeCDatain interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeCharacterspublic void writeCharacters(String arg0) throws XMLStreamException - Specified by:
- writeCharactersin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeCharacterspublic void writeCharacters(char[] arg0, int arg1, int arg2) throws XMLStreamException- Specified by:
- writeCharactersin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeCommentpublic void writeComment(String arg0) throws XMLStreamException - Specified by:
- writeCommentin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeDTDpublic void writeDTD(String arg0) throws XMLStreamException - Specified by:
- writeDTDin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEndDocumentpublic void writeEndDocument() throws XMLStreamException- Specified by:
- writeEndDocumentin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEntityRefpublic void writeEntityRef(String arg0) throws XMLStreamException - Specified by:
- writeEntityRefin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeProcessingInstructionpublic void writeProcessingInstruction(String arg0) throws XMLStreamException - Specified by:
- writeProcessingInstructionin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeProcessingInstructionpublic void writeProcessingInstruction(String arg0, String arg1) throws XMLStreamException - Specified by:
- writeProcessingInstructionin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeStartDocumentpublic void writeStartDocument() throws XMLStreamException- Specified by:
- writeStartDocumentin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeStartDocumentpublic void writeStartDocument(String version) throws XMLStreamException - Specified by:
- writeStartDocumentin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeStartDocumentpublic void writeStartDocument(String arg0, String arg1) throws XMLStreamException - Specified by:
- writeStartDocumentin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
setDefaultNamespacepublic void setDefaultNamespace(String ns) throws XMLStreamException - Specified by:
- setDefaultNamespacein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeNamespacepublic void writeNamespace(String pfx, String ns) throws XMLStreamException - Specified by:
- writeNamespacein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeAttributepublic void writeAttribute(String uri, String name, String value) throws XMLStreamException - Specified by:
- writeAttributein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
setPrefixpublic void setPrefix(String pfx, String uri) throws XMLStreamException - Specified by:
- setPrefixin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEndElementpublic void writeEndElement() throws XMLStreamException- Specified by:
- writeEndElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeDefaultNamespacepublic void writeDefaultNamespace(String ns) throws XMLStreamException - Specified by:
- writeDefaultNamespacein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEmptyElementpublic void writeEmptyElement(String name) throws XMLStreamException - Specified by:
- writeEmptyElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEmptyElementpublic void writeEmptyElement(String name, String ns) throws XMLStreamException - Specified by:
- writeEmptyElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEmptyElementpublic void writeEmptyElement(String pfx, String name, String ns) throws XMLStreamException - Specified by:
- writeEmptyElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeStartElementpublic void writeStartElement(String name) throws XMLStreamException - Specified by:
- writeStartElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeStartElementpublic void writeStartElement(String name, String ns) throws XMLStreamException - Specified by:
- writeStartElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeStartElementpublic void writeStartElement(String pfx, String name, String ns) throws XMLStreamException - Specified by:
- writeStartElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 
- 
 
-