|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Annotation
The common interface extended by all annotation types.
An annotation consists of a name (getName()
) and a map of attributes
getAttribute(java.lang.String)
.
To get the annotation associated with a component, use
ComponentCtrl.getAnnotation(String)
.
To get the annotation associated with a component's property,
use ComponentCtrl.getAnnotation(String, String)
ComponentCtrl.getAnnotation(String)
,
ComponentCtrl.getAnnotation(String, String)
,
ComponentCtrl.getAnnotations()
,
ComponentCtrl.getAnnotations(String)
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String name)
Returns the attribute of the given name, or null if not found. |
java.util.Map |
getAttributes()
Returns the map of attributes (String name, String value) (never null). |
java.lang.String |
getName()
Returns the name of this annotation. |
Method Detail |
---|
java.lang.String getName()
For each declaration, there is at most one annotation with the same name.
java.util.Map getAttributes()
java.lang.String getAttribute(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |