|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.annotation.UntypedAnnotationProxy
Untyped annotation proxy.
To be used with JavDoc-style, pure string based, one value only type of annotations.
Field Summary | |
protected String |
m_name
The name of the annotation. |
protected String |
m_value
The full value of the annotation. |
Constructor Summary | |
UntypedAnnotationProxy()
|
Method Summary | |
String |
getName()
Returns the name. |
String |
getValue()
Returns the value. |
void |
initialize(String name,
String value)
Set the value of the annotation given its full representation as @Foo , lskdlksdl"k"lk"l. |
boolean |
isTyped()
Checks if the annotation is typed or not. |
void |
setName(String name)
Sets the name of the annotation, the '@[name]'. |
void |
setValue(String value)
Sets the string single value of this untyped annotation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String m_value
protected String m_name
Constructor Detail |
public UntypedAnnotationProxy()
Method Detail |
public String getValue()
public String getName()
getName
in interface Annotation
public void setName(String name)
setName
in interface Annotation
name
- public void setValue(String value)
value
- public boolean isTyped()
isTyped
in interface Annotation
public void initialize(String name, String value)
initialize
in interface Annotation
name
- value
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |