public class Dom4JWriter extends AbstractDocumentWriter
| Constructor and Description |
|---|
Dom4JWriter() |
Dom4JWriter(org.dom4j.Branch root) |
Dom4JWriter(org.dom4j.Branch root,
org.dom4j.DocumentFactory factory,
XmlFriendlyReplacer replacer) |
Dom4JWriter(org.dom4j.Branch root,
XmlFriendlyReplacer replacer) |
Dom4JWriter(org.dom4j.DocumentFactory documentFactory) |
Dom4JWriter(org.dom4j.DocumentFactory factory,
XmlFriendlyReplacer replacer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(java.lang.String key,
java.lang.String value) |
protected java.lang.Object |
createNode(java.lang.String name)
Create a node.
|
void |
setValue(java.lang.String text)
Write the value (text content) of the current node.
|
close, endNode, endNodeInternally, flush, getCurrent, getTopLevelNodes, startNodeescapeXmlName, startNode, underlyingWriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunderlyingWriterpublic Dom4JWriter(org.dom4j.Branch root,
org.dom4j.DocumentFactory factory,
XmlFriendlyReplacer replacer)
public Dom4JWriter(org.dom4j.DocumentFactory factory,
XmlFriendlyReplacer replacer)
public Dom4JWriter(org.dom4j.DocumentFactory documentFactory)
public Dom4JWriter(org.dom4j.Branch root,
XmlFriendlyReplacer replacer)
public Dom4JWriter(org.dom4j.Branch root)
public Dom4JWriter()
protected java.lang.Object createNode(java.lang.String name)
AbstractDocumentWriterAbstractDocumentWriter.getCurrent()
returns null the node is a top level node.createNode in class AbstractDocumentWritername - the node namepublic void setValue(java.lang.String text)
HierarchicalStreamWriterpublic void addAttribute(java.lang.String key,
java.lang.String value)
Joe Walnes, http://xstream.codehaus.org/