Sharkysoft home

lava.text.html
Class HtmlComment

java.lang.Object
  |
  +--lava.text.html.HtmlComponent
        |
        +--lava.text.html.HtmlSpecialTag
              |
              +--lava.text.html.HtmlComment

public class HtmlComment
extends HtmlSpecialTag

HTML comment.

Details: This class represents comments within HTML source. A comment begins with <-- and ends with -->.


Method Summary
 java.lang.String toString()
          Returns original comment string.
 
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
 

Method Detail

toString

public java.lang.String toString()
Returns original comment string.

Details: toString returns the exact string that was parsed from the original HTML source in order to construct this instance, including the opening and closing HTML comment markers.

Overrides:
toString in class HtmlSpecialTag
Returns:
the comment

Sharkysoft home