public class TextNode extends Node
Text
(not CDATASection).| Modifier and Type | Method and Description |
|---|---|
protected void |
appendToElement(Element parent)
This method is called internally by
ElementNode, to append
its children to the DOM subtree rooted at the specified element. |
protected void |
toSAX(ContentHandler handler)
Invokes the passed
ContentHandler for this element
and its children. |
getLocalNamepublic TextNode(String content)
protected void appendToElement(Element parent)
NodeElementNode, to append
its children to the DOM subtree rooted at the specified element.appendToElement in class Nodeprotected void toSAX(ContentHandler handler) throws SAXException
NodeContentHandler for this element
and its children. Default implementation does nothing (appropriate
for attributes only).toSAX in class NodeSAXException