|
Sharkysoft home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--lava.text.html.HtmlComponent | +--lava.text.html.HtmlRegularTag
HTML tag.
Details: This is the base class for regular HTML tags that occur in the body of well formed HTML source.
Method Summary | |
java.lang.String |
getType()
Returns tag type. |
Methods inherited from class lava.text.html.HtmlComponent |
getOriginalSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getType()
Details: getType returns the primary type of this tag. To facilitate easy tag identification, the type is represented in upper case characters, regardless of how it appeared in the original HTML stream.
For example, if the original HTML source represented by this instance is
<a href="http://sharkysoft.com/" target=_top>
then getType
will return the string "A".
|
Sharkysoft home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |