com.quiotix.html.parser
Class HtmlDocument.Annotation
java.lang.Object
|
+--com.quiotix.html.parser.HtmlDocument.HtmlElement
|
+--com.quiotix.html.parser.HtmlDocument.Annotation
- Enclosing class:
- HtmlDocument
- public static class HtmlDocument.Annotation
- extends HtmlDocument.HtmlElement
Annotations. These are not part of the HTML document, but
provide a way for HTML-processing applications to insert
annotations into the document. These annotations can be used by
other programs or can be brought to the user's attention at a
later time. For example, the HtmlCollector might insert an
annotation to indicate that there is no corresponding start tag
for an end tag.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HtmlDocument.Annotation
public HtmlDocument.Annotation(java.lang.String type,
java.lang.String text)
accept
public void accept(HtmlVisitor v)
- Overrides:
accept
in class HtmlDocument.HtmlElement
getLength
public int getLength()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object