Package org.apache.cxf.staxutils
Class W3CDOMStreamWriter
java.lang.Object
org.apache.cxf.staxutils.W3CDOMStreamWriter
- All Implemented Interfaces:
XMLStreamWriter
- Direct Known Subclasses:
OverlayW3CDOMStreamWriter
-
Constructor Summary
ConstructorDescriptionW3CDOMStreamWriter
(DocumentBuilder builder) W3CDOMStreamWriter
(Document document) W3CDOMStreamWriter
(Document document, DocumentFragment frag) W3CDOMStreamWriter
(Document owner, Element e) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
createAndAddElement
(String prefix, String local, String namespace) protected Element
createElementNS
(String ns, String pfx, String local) void
flush()
getProperty
(String name) boolean
protected void
protected void
void
setDefaultNamespace
(String arg0) void
void
setNsRepairing
(boolean b) void
void
setProperties
(Map<String, Object> properties) toString()
void
writeAttribute
(String local, String value) void
writeAttribute
(String namespace, String local, String value) void
writeAttribute
(String prefix, String namespace, String local, String value) void
writeCData
(String data) void
writeCharacters
(char[] text, int start, int len) void
writeCharacters
(String text) void
writeComment
(String value) void
writeDefaultNamespace
(String namespace) void
void
writeEmptyElement
(String local) void
writeEmptyElement
(String namespace, String local) void
writeEmptyElement
(String prefix, String local, String namespace) void
void
void
writeEntityRef
(String ref) void
writeNamespace
(String prefix, String namespace) void
writeProcessingInstruction
(String target) void
writeProcessingInstruction
(String target, String data) void
void
writeStartDocument
(String version) void
writeStartDocument
(String encoding, String version) void
writeStartElement
(String local) void
writeStartElement
(String namespace, String local) void
writeStartElement
(String prefix, String local, String namespace)
-
Constructor Details
-
W3CDOMStreamWriter
public W3CDOMStreamWriter() -
W3CDOMStreamWriter
-
W3CDOMStreamWriter
-
W3CDOMStreamWriter
-
W3CDOMStreamWriter
-
W3CDOMStreamWriter
-
W3CDOMStreamWriter
-
-
Method Details
-
getCurrentNode
-
getCurrentFragment
-
setNsRepairing
public void setNsRepairing(boolean b) -
isNsRepairing
public boolean isNsRepairing() -
setProperties
-
getDocument
-
writeStartElement
- Specified by:
writeStartElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
newChild
-
setChild
-
writeStartElement
- Specified by:
writeStartElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartElement
public void writeStartElement(String prefix, String local, String namespace) throws XMLStreamException - Specified by:
writeStartElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
createElementNS
-
createAndAddElement
-
writeEmptyElement
- Specified by:
writeEmptyElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEmptyElement
public void writeEmptyElement(String prefix, String local, String namespace) throws XMLStreamException - Specified by:
writeEmptyElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEmptyElement
- Specified by:
writeEmptyElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEndElement
- Specified by:
writeEndElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEndDocument
- Specified by:
writeEndDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeAttribute
- Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String prefix, String namespace, String local, String value) throws XMLStreamException - Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeAttribute
- Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeNamespace
- Specified by:
writeNamespace
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeDefaultNamespace
- Specified by:
writeDefaultNamespace
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeComment
- Specified by:
writeComment
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeProcessingInstruction
- Specified by:
writeProcessingInstruction
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeProcessingInstruction
- Specified by:
writeProcessingInstruction
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeCData
- Specified by:
writeCData
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeDTD
- Specified by:
writeDTD
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEntityRef
- Specified by:
writeEntityRef
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartDocument
- Specified by:
writeStartDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartDocument
- Specified by:
writeStartDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartDocument
- Specified by:
writeStartDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeCharacters
- Specified by:
writeCharacters
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeCharacters
- Specified by:
writeCharacters
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
getPrefix
- Specified by:
getPrefix
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
setPrefix
- Specified by:
setPrefix
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
setDefaultNamespace
- Specified by:
setDefaultNamespace
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
setNamespaceContext
- Specified by:
setNamespaceContext
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
getNamespaceContext
- Specified by:
getNamespaceContext
in interfaceXMLStreamWriter
-
getProperty
- Specified by:
getProperty
in interfaceXMLStreamWriter
-
close
- Specified by:
close
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
flush
- Specified by:
flush
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
toString
-