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>.
- author:
Kohsuke - Kawaguchi (kohsuke.kawaguchi@sun.com)
| 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. |