Package org.htmlparser
Interface Remark
-
- All Superinterfaces:
java.lang.Cloneable,Node
- All Known Implementing Classes:
RemarkNode
public interface Remark extends Node
This interface represents a comment in the HTML document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetText()Returns the text contents of the comment tag.voidsetText(java.lang.String text)Sets the string contents of the node.-
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 Detail
-
getText
java.lang.String getText()
Returns the text contents of the comment tag.- Specified by:
getTextin interfaceNode- Returns:
- The contents of the text inside the comment delimiters.
- See Also:
setText(java.lang.String)
-
-