All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class web.PageItem

java.lang.Object
   |
   +----web.PageItem

public class PageItem
extends Object
A word or a link contained in a web page.

See Also:
WebPage

Method Index

 o getString()
Get the value of this item.
 o getType()
Return type of this item.
 o toString()
Return textual representation of item.

Methods

 o getType
 public boolean getType()
Return type of this item. The type is true if this is an ordinary word and false if it is the href part of a link.

Returns:
type.
 o getString
 public String getString()
Get the value of this item. Depending on the type of this it should be interpreted as either a hyperlink or an ordinary word.

Returns:
the value.
 o toString
 public String toString()
Return textual representation of item.

Returns:
string.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index