| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private SchemaGrammar |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAnnotationString()
Implements org. |
| public String | getName()
Implements org. NCName of this declaration as defined in
XML Namespaces.
|
| public String | getNamespace()
Implements org. null if it is
unspecified.
|
| public XSNamespaceItem | getNamespaceItem()
Implements org. |
| public short | getType()
Implements org. type of this object, i.e.
ELEMENT_DECLARATION.
|
| public boolean | Returns: If thetarget is recognized type and supported by
this implementation return true, otherwise return false.A target pointer to the annotation target object, i.e.
target, short org.w3c.dom.Document,
org.xml.sax.ContentHandler.A target type. targetType)Implements org. |
| private synchronized void | |
| private synchronized void |
| fData | back to summary |
|---|---|
| private String fData | |
| fGrammar | back to summary |
|---|---|
| private SchemaGrammar fGrammar | |
| XSAnnotationImpl | back to summary |
|---|---|
| public XSAnnotationImpl(String contents, SchemaGrammar grammar) | |
| getAnnotationString | back to summary |
|---|---|
| public String getAnnotationString() Implements org. A text representation of annotation. | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. The name of type | |
| getNamespace | back to summary |
|---|---|
| public String getNamespace() Implements org. The [target namespace] of this object, or | |
| getNamespaceItem | back to summary |
|---|---|
| public XSNamespaceItem getNamespaceItem() Implements org. A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise. | |
| getType | back to summary |
|---|---|
| public short getType() Implements org. The | |
| writeAnnotation | back to summary |
|---|---|
| public boolean writeAnnotation(Object target, short targetType) Implements org. Write contents of the annotation to the specified DOM object. If the
specified
| |
| writeToDOM | back to summary |
|---|---|
| private synchronized void writeToDOM(Node target, short type) | |
| writeToSAX | back to summary |
|---|---|
| private synchronized void writeToSAX(ContentHandler handler) | |