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(String key,
String value) |
void |
close()
Close the writer, if necessary.
|
void |
endNode() |
void |
flush()
Flush the writer, if necessary.
|
void |
setValue(String text)
Write the value (text content) of the current node.
|
void |
startNode(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(String name)
public void setValue(String text)
HierarchicalStreamWriter
public void endNode()
public void flush()
HierarchicalStreamWriter
public void close()
HierarchicalStreamWriter
Copyright © 2004–2017 XStream. All rights reserved.