public class XppDomWriter extends AbstractDocumentWriter
Constructor and Description |
---|
XppDomWriter() |
XppDomWriter(XmlFriendlyReplacer replacer) |
XppDomWriter(com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom parent) |
XppDomWriter(com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom parent,
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.
|
com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom |
getConfiguration() |
void |
setValue(java.lang.String text)
Write the value (text content) of the current node.
|
close, endNode, endNodeInternally, flush, getCurrent, getTopLevelNodes, startNode
escapeXmlName, startNode, underlyingWriter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
underlyingWriter
public XppDomWriter()
public XppDomWriter(com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom parent)
public XppDomWriter(XmlFriendlyReplacer replacer)
public XppDomWriter(com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom parent, XmlFriendlyReplacer replacer)
public com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom getConfiguration()
protected java.lang.Object createNode(java.lang.String name)
AbstractDocumentWriter
AbstractDocumentWriter.getCurrent()
returns null
the node is a top level node.createNode
in class AbstractDocumentWriter
name
- the node namepublic void setValue(java.lang.String text)
HierarchicalStreamWriter
public void addAttribute(java.lang.String key, java.lang.String value)
Copyright © 2004-2012 XStream. All Rights Reserved.