<xs:annotation>.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract ContentHandler | getContentHandler(AnnotationContext
indicates the schema component that owns this annotation.
Always non-null. context, String local name of the element that contains parentElementName, ErrorHandler <xs:annotation>.
(e.g., "element", "attribute", ... )The error handler that the client application specifies.
The returned content handler can send its errors to this
object. errorHandler, EntityResolver The entity resolver that is currently in use. Again,
The returned content handler can use this object
if it needs to resolve entities. entityResolver)Called every time a new |
| public abstract Object | Returns: Any object, including null.An annotation object which was returned from another
AnnotationParser before. Sometimes, one schema component
can have multiple existing)<xs:annotation> elements and
this parameter is used to merge all those annotations
together. If there is no existing object, null will be
passed.Once the SAX events are fed to the ContentHandler, this method will be called to retrieve the parsed result. |
| AnnotationParser | back to summary |
|---|---|
| protected AnnotationParser() Default constructor. | |
| getContentHandler | back to summary |
|---|---|
| public abstract ContentHandler getContentHandler(AnnotationContext context, String parentElementName, ErrorHandler errorHandler, EntityResolver entityResolver) Called every time a new
| |
| getResult | back to summary |
|---|---|
| public abstract Object getResult(Object existing) Once the SAX events are fed to the ContentHandler, this method will be called to retrieve the parsed result.
| |