com.thoughtworks.xstream.io.xml
Class XppDomWriter
java.lang.Object
com.thoughtworks.xstream.io.xml.AbstractXmlWriter
com.thoughtworks.xstream.io.xml.AbstractDocumentWriter
com.thoughtworks.xstream.io.xml.XppDomWriter
- All Implemented Interfaces:
- ExtendedHierarchicalStreamWriter, HierarchicalStreamWriter, DocumentWriter, XmlFriendlyWriter
public class XppDomWriter
- extends AbstractDocumentWriter
Method Summary |
void |
addAttribute(java.lang.String key,
java.lang.String value)
|
protected java.lang.Object |
createNode(java.lang.String name)
Create a node. |
com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom |
getConfiguration()
|
void |
setValue(java.lang.String text)
Write the value (text content) of the current node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XppDomWriter
public XppDomWriter()
XppDomWriter
public XppDomWriter(com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom parent)
- Since:
- 1.2.1
XppDomWriter
public XppDomWriter(XmlFriendlyReplacer replacer)
- Since:
- 1.2
XppDomWriter
public XppDomWriter(com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom parent,
XmlFriendlyReplacer replacer)
- Since:
- 1.2.1
getConfiguration
public com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom getConfiguration()
createNode
protected java.lang.Object createNode(java.lang.String name)
- Description copied from class:
AbstractDocumentWriter
- Create a node. The provided node name is not yet XML friendly. If
AbstractDocumentWriter.getCurrent()
returns null
the node is a top level node.
- Specified by:
createNode
in class AbstractDocumentWriter
- Parameters:
name
- the node name
- Returns:
- the new node
setValue
public void setValue(java.lang.String text)
- Description copied from interface:
HierarchicalStreamWriter
- Write the value (text content) of the current node.
addAttribute
public void addAttribute(java.lang.String key,
java.lang.String value)
Copyright © 2004-2011 XStream. All Rights Reserved.