This class doesn't have any state. So it should be used as a singleton.
| Modifier and Type | Field and Description |
|---|---|
| public static final AnnotationParser |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ContentHandler | getContentHandler(AnnotationContext contest, String elementName, ErrorHandler errorHandler, EntityResolver entityResolver)
Implements abstract com. Called every time a new |
| public Object | getResult(Object existing)
Implements abstract com. Once the SAX events are fed to the ContentHandler, this method will be called to retrieve the parsed result. |
| theInstance | back to summary |
|---|---|
| public static final AnnotationParser theInstance | |
| DefaultAnnotationParser | back to summary |
|---|---|
| private DefaultAnnotationParser() | |
| getContentHandler | back to summary |
|---|---|
| public ContentHandler getContentHandler(AnnotationContext contest, String elementName, ErrorHandler errorHandler, EntityResolver entityResolver) Implements abstract com. Doc from com. Called every time a new | |
| getResult | back to summary |
|---|---|
| public Object getResult(Object existing) Implements abstract com. Doc from com. Once the SAX events are fed to the ContentHandler, this method will be called to retrieve the parsed result. | |