public class XomWriter extends AbstractDocumentWriter
Constructor and Description |
---|
XomWriter() |
XomWriter(nu.xom.Element parentElement) |
XomWriter(nu.xom.Element parentElement,
XmlFriendlyReplacer replacer) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String name,
String value) |
protected Object |
createNode(String name)
Create a node.
|
void |
setValue(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 XomWriter()
public XomWriter(nu.xom.Element parentElement)
public XomWriter(nu.xom.Element parentElement, XmlFriendlyReplacer replacer)
protected Object createNode(String name)
AbstractDocumentWriter
AbstractDocumentWriter.getCurrent()
returns null
the node is a top level node.createNode
in class AbstractDocumentWriter
name
- the node namepublic void setValue(String text)
HierarchicalStreamWriter
Copyright © 2016 Internet2. All rights reserved.