public class XppDomWriter extends AbstractDocumentWriter
Constructor and Description |
---|
XppDomWriter() |
XppDomWriter(NameCoder nameCoder) |
XppDomWriter(XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4 use
XppDomWriter(NameCoder) instead |
XppDomWriter(XppDom parent) |
XppDomWriter(XppDom parent,
NameCoder nameCoder) |
XppDomWriter(XppDom parent,
XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4 use
XppDomWriter(XppDom, NameCoder) instead. |
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.
|
XppDom |
getConfiguration() |
void |
setValue(java.lang.String text)
Write the value (text content) of the current node.
|
close, endNode, endNodeInternally, flush, getCurrent, getTopLevelNodes, startNode
escapeXmlName
encodeAttribute, encodeNode, startNode, underlyingWriter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
underlyingWriter
public XppDomWriter()
public XppDomWriter(XppDom parent)
public XppDomWriter(NameCoder nameCoder)
public XppDomWriter(XmlFriendlyReplacer replacer)
XppDomWriter(NameCoder)
insteadpublic XppDomWriter(XppDom parent, XmlFriendlyReplacer replacer)
XppDomWriter(XppDom, NameCoder)
instead.public XppDom 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–2024 XStream. All rights reserved.