public class

Dom4JWriter

extends AbstractDocumentWriter
java.lang.Object
   ↳ com.thoughtworks.xstream.io.xml.AbstractXmlWriter
     ↳ com.thoughtworks.xstream.io.xml.AbstractDocumentWriter
       ↳ com.thoughtworks.xstream.io.xml.Dom4JWriter

Summary

Public Constructors
Dom4JWriter(Branch root, DocumentFactory factory, XmlFriendlyReplacer replacer)
Dom4JWriter(DocumentFactory factory, XmlFriendlyReplacer replacer)
Dom4JWriter(DocumentFactory documentFactory)
Dom4JWriter(Branch root, XmlFriendlyReplacer replacer)
Dom4JWriter(Branch root)
Dom4JWriter()
Public Methods
void addAttribute(String key, String value)
void setValue(String text)
Protected Methods
Object createNode(String name)
Create a node.
[Expand]
Inherited Methods
From class com.thoughtworks.xstream.io.xml.AbstractDocumentWriter
From class com.thoughtworks.xstream.io.xml.AbstractXmlWriter
From class java.lang.Object
From interface com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter
From interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
From interface com.thoughtworks.xstream.io.xml.DocumentWriter
From interface com.thoughtworks.xstream.io.xml.XmlFriendlyWriter

Public Constructors

public Dom4JWriter (Branch root, DocumentFactory factory, XmlFriendlyReplacer replacer)

public Dom4JWriter (DocumentFactory factory, XmlFriendlyReplacer replacer)

public Dom4JWriter (DocumentFactory documentFactory)

public Dom4JWriter (Branch root, XmlFriendlyReplacer replacer)

public Dom4JWriter (Branch root)

public Dom4JWriter ()

Public Methods

public void addAttribute (String key, String value)

public void setValue (String text)

Protected Methods

protected Object createNode (String name)

Create a node. The provided node name is not yet XML friendly. If getCurrent() returns null the node is a top level node.

Parameters
name the node name
Returns
  • the new node