org.htmlparser
Interface Text
- Cloneable, Node
- TextNode
This interface represents a piece of the content of the HTML document.
String | getText()- Accesses the textual contents of the node.
|
void | setText(String text)- Sets the 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()
Accesses the textual contents of the node.
- getText in interface Node
setText
public void setText(String text)
Sets the contents of the node.
- 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. |  |