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, startNodeescapeXmlName, startNode, underlyingWriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunderlyingWriterpublic 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)
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/