Sharkysoft home

lava.text.html
Class HtmlCloseTag

java.lang.Object
  |
  +--lava.text.html.HtmlComponent
        |
        +--lava.text.html.HtmlRegularTag
              |
              +--lava.text.html.HtmlCloseTag

public class HtmlCloseTag
extends HtmlRegularTag

Closing HTML tag.

Details: This class represents HTML close tags that have been parsed from an HTML source stream. Instances of this class are returned by the HtmlParser.parse method.

Version:
2000.12.22
See Also:
HtmlParser.parse()

Constructor Summary
HtmlCloseTag(java.lang.String type)
           
 
Method Summary
 java.lang.String toString()
          Generates string representation.
 
Methods inherited from class lava.text.html.HtmlRegularTag
getType
 
Methods inherited from class lava.text.html.HtmlComponent
getOriginalSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HtmlCloseTag

public HtmlCloseTag(java.lang.String type)
Method Detail

toString

public java.lang.String toString()
Generates string representation.

Details: toString returns a string representation of this closing tag. The string returned may not be exactly the same as the original text that was parsed to form this tag, but it should be equivalent by HTML standards.

Overrides:
toString in class HtmlComponent
Returns:
the string representation

Sharkysoft home