| java.lang.Object | |
| ↳ | java.text.AttributedCharacterIterator.Attribute | 
|  Known Direct Subclasses | 
|  Known Indirect Subclasses | 
Defines keys for text attributes.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| INPUT_METHOD_SEGMENT | This attribute marks segments from an input method. | ||||||||||
| LANGUAGE | The attribute describing the language of a character. | ||||||||||
| READING | For languages that have different reading directions of text (like Japanese), this attribute allows to define which reading should be used. | ||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| The constructor for an  Attributewith the name passed. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Compares this attribute with the specified object. | |||||||||||
| Calculates the hash code for objects of type  Attribute. | |||||||||||
| Returns the name of the class followed by a "(", the name of the
 attribute, and a ")". | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Returns the name of this attribute. | |||||||||||
| Resolves a deserialized instance to the correct constant attribute. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
This attribute marks segments from an input method. Most input
 methods create these segments for words.
 The value objects are of the type Annotation which contain
 null.
The attribute describing the language of a character. The value
 objects are of type Locale or a subtype of it.
For languages that have different reading directions of text (like
 Japanese), this attribute allows to define which reading should be
 used. The value objects are of type Annotation which
 contain a String.
The constructor for an Attribute with the name passed.
| name | the name of the new Attribute. | 
|---|
Compares this attribute with the specified object. Checks if both objects are the same instance. It is defined final so all subclasses have the same behavior for this method.
| object | the object to compare against. | 
|---|
true if the object passed is equal to this instance;
         false otherwise.
Calculates the hash code for objects of type Attribute. It
 is defined final so all sub types calculate their hash code
 identically.
Attribute.
Returns the name of the class followed by a "(", the name of the attribute, and a ")".
Returns the name of this attribute.
Resolves a deserialized instance to the correct constant attribute.
Attribute this instance represents.| InvalidObjectException | if this instance is not of type Attribute.classor if it is not a knownAttribute. | 
|---|