Package com.sun.tools.rngom.digested
Class DAnnotation
java.lang.Object
com.sun.tools.rngom.digested.DAnnotation
Annotation.
- Author:
- Kohsuke Kawaguchi ([email protected])
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String nsUri, String localName) Gets the attribute of a given name.Gets the read-only view of all the attributes.Gets the read-only view of all the child elements of this annotation.
-
Constructor Details
-
DAnnotation
public DAnnotation()
-
-
Method Details
-
getAttribute
Gets the attribute of a given name.- Parameters:
nsUri
- can be empty but must not be null.- Returns:
- null if no such attribute is found.
-
getAttribute
-
getAttributes
Gets the read-only view of all the attributes.- Returns:
- can be empty but never null. the returned map is read-only.
-
getChildren
Gets the read-only view of all the child elements of this annotation.- Returns:
- can be empty but never null. the returned list is read-only.
-