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
-
getString()
- Get the value of this item.
-
getType()
- Return type of this item.
-
toString()
- Return textual representation of item.
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.
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.
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