| Modifier and Type | Class and Description |
|---|---|
| public static class | DAnnotation.
Attribute. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Map | attributes
Keyed by QName. |
| pack-priv final List | contents
List of nested elements. |
| pack-priv static final DAnnotation | EMPTY
Instance reserved to be empty. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DAnnotation. | Returns: null if no such attribute is found.can be empty but must not be null. nsUri, String localName)Gets the attribute of a given name. |
| public DAnnotation. | |
| public Map | Returns: can be empty but never null. the returned map is read-only.Gets the read-only view of all the attributes. |
| public List | Returns: can be empty but never null. the returned list is read-only.Gets the read-only view of all the child elements of this annotation. |
| attributes | back to summary |
|---|---|
| pack-priv final Map<QName, DAnnotation. Keyed by QName. | |
| contents | back to summary |
|---|---|
| pack-priv final List<Element> contents List of nested elements. | |
| EMPTY | back to summary |
|---|---|
| pack-priv static final DAnnotation EMPTY Instance reserved to be empty. | |
| DAnnotation | back to summary |
|---|---|
| public DAnnotation() | |
| getAttribute | back to summary |
|---|---|
| public DAnnotation. Gets the attribute of a given name.
| |
| getAttribute | back to summary |
|---|---|
| public DAnnotation. | |
| getAttributes | back to summary |
|---|---|
| public Map Gets the read-only view of all the attributes.
| |
| getChildren | back to summary |
|---|---|
| public List Gets the read-only view of all the child elements of this annotation. | |
| Modifier and Type | Field and Description |
|---|---|
| private Locator | |
| private final String | |
| private final String | |
| private final String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Locator | Returns: never null.Gets the location in the source schema file where this annotation was present. |
| public String | |
| public String | Returns: can be empty (to represent the default namespace), but never null.Gets the namespace URI of this attribute. |
| public String | |
| public String |
| loc | back to summary |
|---|---|
| private Locator loc | |
| localName | back to summary |
|---|---|
| private final String localName | |
| ns | back to summary |
|---|---|
| private final String ns | |
| prefix | back to summary |
|---|---|
| private final String prefix | |
| value | back to summary |
|---|---|
| private String value | |
| Attribute | back to summary |
|---|---|
| public Attribute(String ns, String localName, String prefix) | |
| Attribute | back to summary |
|---|---|
| public Attribute(String ns, String localName, String prefix, String value, Locator loc) | |
| getLoc | back to summary |
|---|---|
| public Locator getLoc() Gets the location in the source schema file where this annotation was present.
| |
| getLocalName | back to summary |
|---|---|
| public String getLocalName() Gets the local name of this attribute.
| |
| getNs | back to summary |
|---|---|
| public String getNs() Gets the namespace URI of this attribute.
| |
| getPrefix | back to summary |
|---|---|
| public String getPrefix() Gets the prefix of thie attribute.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Gets the attribute value.
| |