public class

XppDomWriter

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

Summary

Public Constructors
XppDomWriter()
XppDomWriter(Xpp3Dom parent)
XppDomWriter(XmlFriendlyReplacer replacer)
XppDomWriter(Xpp3Dom parent, XmlFriendlyReplacer replacer)
Public Methods
void addAttribute(String key, String value)
Xpp3Dom getConfiguration()
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 XppDomWriter ()

public XppDomWriter (Xpp3Dom parent)

public XppDomWriter (XmlFriendlyReplacer replacer)

public XppDomWriter (Xpp3Dom parent, XmlFriendlyReplacer replacer)

Public Methods

public void addAttribute (String key, String value)

public Xpp3Dom getConfiguration ()

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