- All Implemented Interfaces:
Serializable
- Enclosing class:
AngleFormat
Constants that are used as attribute keys in the iterator returned from
AngleFormat.formatToCharacterIterator(Object)
.- Since:
- 0.3
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AngleFormat.Field
Identifies the degrees field, including the degrees symbol (if any).static final AngleFormat.Field
Identifies the hemisphere symbol (if any).static final AngleFormat.Field
Identifies the minutes field, including the minutes symbol (if any).static final AngleFormat.Field
Identifies the seconds field, including the seconds symbol (if any).Fields inherited from class AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, LANGUAGE, READING
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
Invoked on deserialization for resolving this instance to one of the predefined constants.Methods inherited from class AttributedCharacterIterator.Attribute
equals, getName, hashCode, toString
-
Field Details
-
DEGREES
Identifies the degrees field, including the degrees symbol (if any). When formatting a string, this value may be specified to theFieldPosition
constructor in order to get the bounding index where degrees have been written. -
MINUTES
Identifies the minutes field, including the minutes symbol (if any). When formatting a string, this value may be specified to theFieldPosition
constructor in order to get the bounding index where minutes have been written. -
SECONDS
Identifies the seconds field, including the seconds symbol (if any). When formatting a string, this value may be specified to theFieldPosition
constructor in order to get the bounding index where seconds have been written. -
HEMISPHERE
Identifies the hemisphere symbol (if any). When formatting a string, this value may be specified to theFieldPosition
constructor in order to get the bounding index where hemisphere have been written.
-
-
Method Details
-
readResolve
Invoked on deserialization for resolving this instance to one of the predefined constants.- Overrides:
readResolve
in classAttributedCharacterIterator.Attribute
- Returns:
- one of the predefined constants.
- Throws:
InvalidObjectException
- if this instance cannot be resolved.
-