public class Dom4JXmlWriter extends AbstractXmlWriter
Constructor and Description |
---|
Dom4JXmlWriter(XMLWriter writer) |
Dom4JXmlWriter(XMLWriter writer,
NameCoder nameCoder) |
Dom4JXmlWriter(XMLWriter writer,
XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4 use
Dom4JXmlWriter(XMLWriter, NameCoder) instead. |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String key,
java.lang.String value) |
void |
close()
Close the writer, if necessary.
|
void |
endNode() |
void |
flush()
Flush the writer, if necessary.
|
void |
setValue(java.lang.String text)
Write the value (text content) of the current node.
|
void |
startNode(java.lang.String name) |
escapeXmlName
encodeAttribute, encodeNode, startNode, underlyingWriter
public Dom4JXmlWriter(XMLWriter writer)
public Dom4JXmlWriter(XMLWriter writer, NameCoder nameCoder)
public Dom4JXmlWriter(XMLWriter writer, XmlFriendlyReplacer replacer)
Dom4JXmlWriter(XMLWriter, NameCoder)
instead.public void startNode(java.lang.String name)
public void setValue(java.lang.String text)
HierarchicalStreamWriter
public void addAttribute(java.lang.String key, java.lang.String value)
public void endNode()
public void flush()
HierarchicalStreamWriter
public void close()
HierarchicalStreamWriter
Copyright © 2004–2024 XStream. All rights reserved.