com.quiotix.html.parser
Class HtmlDocument.Comment
java.lang.Object
com.quiotix.html.parser.HtmlDocument.HtmlElement
com.quiotix.html.parser.HtmlDocument.Comment
- All Implemented Interfaces:
- Sized, Visitable
- Enclosing class:
- HtmlDocument
public static class HtmlDocument.Comment
- extends HtmlDocument.HtmlElement
HTML comments.
Field Summary |
String |
comment
Note that a Comment starts and ends with two hyphen characters. |
comment
public String comment
- Note that a Comment starts and ends with two hyphen characters.
HtmlDocument.Comment
public HtmlDocument.Comment(String c)
- Constructor.
accept
public void accept(HtmlVisitor v)
- Description copied from interface:
Visitable
- Allow the Visitor to visit.
- Specified by:
accept
in interface Visitable
- Specified by:
accept
in class HtmlDocument.HtmlElement
- Parameters:
v
- the visitor which has come to call
getLength
public int getLength()
- Returns:
- the number of characters
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2011 Quiotix. All Rights Reserved.