sidekick.html.parser.html
Class HtmlDocument.Annotation
java.lang.Object
sidekick.html.parser.html.HtmlDocument.HtmlElement
sidekick.html.parser.html.HtmlDocument.Annotation
- All Implemented Interfaces:
- sidekick.util.SideKickElement
- 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 sidekick.html.parser.html.HtmlDocument.HtmlElement |
equals, getEndLocation, getEndPosition, getStartLocation, getStartPosition, setEndLocation, setEndLocation, setEndPosition, setStartLocation, setStartLocation, setStartPosition, toLongString |
| Methods inherited from class java.lang.Object |
clone, 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)
- Specified by:
accept in class HtmlDocument.HtmlElement
getLength
public int getLength()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object