| java.lang.Object | |
| ↳ | java.text.Annotation |
Wrapper for a text attribute value which represents an annotation. An annotation has two special aspects:
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.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
Annotation.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the value of this annotation.
| |||||||||||
Returns this annotation in string representation.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a new Annotation.
| attribute | the attribute attached to this annotation. This may be
null.
|
|---|
Returns the value of this annotation. The value may be null.
null.
Returns this annotation in string representation.