Package org.htmlparser
Interface Remark
- All Known Implementing Classes:
RemarkNode
This interface represents a comment in the HTML document.
-
Method Summary
Methods inherited from interface org.htmlparser.Node
accept, clone, collectInto, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtml, toHtml, toPlainTextString, toString
-
Method Details
-
getText
String getText()Returns the text contents of the comment tag. -
setText
Sets the string contents of the node. If the text has the remark delimiters (<!-- -->), these are stripped off.
-