public class CommentNode extends Node
Constructor and Description |
---|
CommentNode(String content) |
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 CommentNode(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