org.htmlparser
Interface Remark
- Cloneable, Node
- RemarkNode
This interface represents a comment in the HTML document.
String | getText()- Returns the text contents of the comment tag.
|
void | setText(String text)- Sets the string contents of the node.
|
accept, clone, collectInto, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, getText, setChildren, setEndPosition, setPage, setParent, setStartPosition, setText, toHtml, toHtml, toPlainTextString, toString |
getText
public String getText()
Returns the text contents of the comment tag.
- getText in interface Node
- The contents of the text inside the comment delimiters.
setText
public void setText(String text)
Sets the string contents of the node.
If the text has the remark delimiters (<!-- -->),
these are stripped off.
- setText in interface Node
text - The new text for the node.
| © 2005 Derrick Oswald Mai 08, 2008 |
| HTML Parser is an open source library released under LGPL. |  |