Package org.apache.cxf.staxutils
Class W3CDOMStreamWriter
- java.lang.Object
- 
- org.apache.cxf.staxutils.W3CDOMStreamWriter
 
- 
- All Implemented Interfaces:
- XMLStreamWriter
 - Direct Known Subclasses:
- OverlayW3CDOMStreamWriter
 
 public class W3CDOMStreamWriter extends Object implements XMLStreamWriter 
- 
- 
Constructor SummaryConstructors Constructor Description W3CDOMStreamWriter()W3CDOMStreamWriter(DocumentBuilder builder)W3CDOMStreamWriter(Document document)W3CDOMStreamWriter(DocumentFragment frag)W3CDOMStreamWriter(Document document, DocumentFragment frag)W3CDOMStreamWriter(Document owner, Element e)W3CDOMStreamWriter(Element e)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
W3CDOMStreamWriterpublic W3CDOMStreamWriter() 
 - 
W3CDOMStreamWriterpublic W3CDOMStreamWriter(DocumentBuilder builder) 
 - 
W3CDOMStreamWriterpublic W3CDOMStreamWriter(Document document) 
 - 
W3CDOMStreamWriterpublic W3CDOMStreamWriter(DocumentFragment frag) 
 - 
W3CDOMStreamWriterpublic W3CDOMStreamWriter(Document document, DocumentFragment frag) 
 - 
W3CDOMStreamWriterpublic W3CDOMStreamWriter(Element e) 
 
- 
 - 
Method Detail- 
getCurrentNodepublic Element getCurrentNode() 
 - 
getCurrentFragmentpublic DocumentFragment getCurrentFragment() 
 - 
setNsRepairingpublic void setNsRepairing(boolean b) 
 - 
isNsRepairingpublic boolean isNsRepairing() 
 - 
getDocumentpublic Document getDocument() 
 - 
writeStartElementpublic void writeStartElement(String local) throws XMLStreamException - Specified by:
- writeStartElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
newChildprotected void newChild(Element element) 
 - 
setChildprotected void setChild(Element element, boolean append) 
 - 
writeStartElementpublic void writeStartElement(String namespace, String local) throws XMLStreamException - Specified by:
- writeStartElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeStartElementpublic void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException - Specified by:
- writeStartElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
createAndAddElementprotected void createAndAddElement(String prefix, String local, String namespace) 
 - 
writeEmptyElementpublic void writeEmptyElement(String namespace, String local) throws XMLStreamException - Specified by:
- writeEmptyElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEmptyElementpublic void writeEmptyElement(String prefix, String local, String namespace) throws XMLStreamException - Specified by:
- writeEmptyElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEmptyElementpublic void writeEmptyElement(String local) throws XMLStreamException - Specified by:
- writeEmptyElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEndElementpublic void writeEndElement() throws XMLStreamException- Specified by:
- writeEndElementin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEndDocumentpublic void writeEndDocument() throws XMLStreamException- Specified by:
- writeEndDocumentin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeAttributepublic void writeAttribute(String local, String value) throws XMLStreamException - Specified by:
- writeAttributein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeAttributepublic void writeAttribute(String prefix, String namespace, String local, String value) throws XMLStreamException - Specified by:
- writeAttributein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeAttributepublic void writeAttribute(String namespace, String local, String value) throws XMLStreamException - Specified by:
- writeAttributein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeNamespacepublic void writeNamespace(String prefix, String namespace) throws XMLStreamException - Specified by:
- writeNamespacein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeDefaultNamespacepublic void writeDefaultNamespace(String namespace) throws XMLStreamException - Specified by:
- writeDefaultNamespacein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeCommentpublic void writeComment(String value) throws XMLStreamException - Specified by:
- writeCommentin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeProcessingInstructionpublic void writeProcessingInstruction(String target) throws XMLStreamException - Specified by:
- writeProcessingInstructionin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeProcessingInstructionpublic void writeProcessingInstruction(String target, String data) throws XMLStreamException - Specified by:
- writeProcessingInstructionin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeCDatapublic void writeCData(String data) throws XMLStreamException - Specified by:
- writeCDatain interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeDTDpublic void writeDTD(String arg0) throws XMLStreamException - Specified by:
- writeDTDin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeEntityRefpublic void writeEntityRef(String ref) throws XMLStreamException - Specified by:
- writeEntityRefin 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 encoding, String version) throws XMLStreamException - Specified by:
- writeStartDocumentin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeCharacterspublic void writeCharacters(String text) throws XMLStreamException - Specified by:
- writeCharactersin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
writeCharacterspublic void writeCharacters(char[] text, int start, int len) throws XMLStreamException- Specified by:
- writeCharactersin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
getPrefixpublic String getPrefix(String uri) throws XMLStreamException - Specified by:
- getPrefixin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
setPrefixpublic void setPrefix(String arg0, String arg1) throws XMLStreamException - Specified by:
- setPrefixin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
setDefaultNamespacepublic void setDefaultNamespace(String arg0) throws XMLStreamException - Specified by:
- setDefaultNamespacein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
setNamespaceContextpublic void setNamespaceContext(NamespaceContext ctx) throws XMLStreamException - Specified by:
- setNamespaceContextin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
getNamespaceContextpublic NamespaceContext getNamespaceContext() - Specified by:
- getNamespaceContextin interface- XMLStreamWriter
 
 - 
getPropertypublic Object getProperty(String name) - Specified by:
- getPropertyin interface- XMLStreamWriter
 
 - 
closepublic void close() throws XMLStreamException- Specified by:
- closein interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 - 
flushpublic void flush() throws XMLStreamException- Specified by:
- flushin interface- XMLStreamWriter
- Throws:
- XMLStreamException
 
 
- 
 
-