Save This Page
Home » openjdk-7 » com.sun.xml.internal » xsom » parser » [javadoc | source]
com.sun.xml.internal.xsom.parser
abstract public class: AnnotationParser [javadoc | source]
java.lang.Object
   com.sun.xml.internal.xsom.parser.AnnotationParser

Direct Known Subclasses:
    AnnotationParserImpl, DefaultAnnotationParser

Used to parse <xs:annotation>.
Method from com.sun.xml.internal.xsom.parser.AnnotationParser Summary:
getContentHandler,   getResult
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.xml.internal.xsom.parser.AnnotationParser Detail:
 abstract public ContentHandler getContentHandler(AnnotationContext context,
    String parentElementName,
    ErrorHandler errorHandler,
    EntityResolver entityResolver)
    Called every time a new <xs:annotation> element is found. The sub-tree rooted at <xs:annotation> will be sent to this ContentHandler as if it is a whole document.
 abstract public Object getResult(Object existing)
    Once the SAX events are fed to the ContentHandler, this method will be called to retrieve the parsed result.