public class Annotation extends Object
By wrapping text attribute values into an Annotation, these aspects
will be taken into account when handling annotation text and the
corresponding main text.
Note: There is no semantic connection between this annotation class and the
java.lang.annotation package.
| Constructor and Description |
|---|
Annotation(Object attribute)
Constructs a new
Annotation. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue()
Returns the value of this annotation.
|
String |
toString()
Returns this annotation in string representation.
|
public Annotation(Object attribute)
Annotation.attribute - the attribute attached to this annotation. This may be
null.public Object getValue()
null.null.