org.htmlparser

Interface Text

public interface Text extends Node

This interface represents a piece of the content of the HTML document.
Method Summary
StringgetText()
Accesses the textual contents of the node.
voidsetText(String text)
Sets the contents of the node.

Method Detail

getText

public String getText()
Accesses the textual contents of the node.

Returns: The text of the node.

See Also: Text

setText

public void setText(String text)
Sets the contents of the node.

Parameters: text The new text for the node.

See Also: Text

HTML Parser is an open source library released under LGPL. SourceForge.net