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. |
getLocalName
public TextNode(String content)
protected void appendToElement(Element parent)
Node
ElementNode
, to append
its children to the DOM subtree rooted at the specified element.appendToElement
in class Node
protected void toSAX(ContentHandler handler) throws SAXException
Node
ContentHandler
for this element
and its children. Default implementation does nothing (appropriate
for attributes only).toSAX
in class Node
SAXException