xml.parser.javacc
Class XmlDocument.Annotation

java.lang.Object
  extended by xml.parser.javacc.XmlDocument.XmlElement
      extended by xml.parser.javacc.XmlDocument.Annotation
All Implemented Interfaces:
sidekick.util.SideKickElement
Enclosing class:
XmlDocument

public static class XmlDocument.Annotation
extends XmlDocument.XmlElement

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.


Constructor Summary
XmlDocument.Annotation(java.lang.String type, java.lang.String text)
           
 
Method Summary
 void accept(XmlVisitor v)
           
 int getLength()
           
 java.lang.String toString()
           
 
Methods inherited from class xml.parser.javacc.XmlDocument.XmlElement
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
 

Constructor Detail

XmlDocument.Annotation

public XmlDocument.Annotation(java.lang.String type,
                              java.lang.String text)
Method Detail

accept

public void accept(XmlVisitor v)
Specified by:
accept in class XmlDocument.XmlElement

getLength

public int getLength()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object