public class DAnnotation extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
DAnnotation.Attribute |
Attribute.
|
Constructor | Description |
---|---|
DAnnotation() |
Modifier and Type | Method | Description |
---|---|---|
DAnnotation.Attribute |
getAttribute(String nsUri,
String localName) |
Gets the attribute of a given name.
|
DAnnotation.Attribute |
getAttribute(QName n) |
|
Map<QName,DAnnotation.Attribute> |
getAttributes() |
Gets the read-only view of all the attributes.
|
List<Element> |
getChildren() |
Gets the read-only view of all the child elements of this annotation.
|
public DAnnotation.Attribute getAttribute(String nsUri, String localName)
nsUri
- can be empty but must not be null.public DAnnotation.Attribute getAttribute(QName n)
public Map<QName,DAnnotation.Attribute> getAttributes()
Copyright © 2018 Oracle Corporation. All rights reserved.