java.lang.Object | |||
↳ | java.text.AttributedCharacterIterator.Attribute | ||
↳ | java.text.Format.Field | ||
↳ | java.text.NumberFormat.Field |
Defines constants that are used as attribute keys in the
AttributedCharacterIterator
returned
from NumberFormat.formatToCharacterIterator
and as
field identifiers in FieldPosition
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CURRENCY | Constant identifying the currency field. | ||||||||||
DECIMAL_SEPARATOR | Constant identifying the decimal separator field. | ||||||||||
EXPONENT | Constant identifying the exponent field. | ||||||||||
EXPONENT_SIGN | Constant identifying the exponent sign field. | ||||||||||
EXPONENT_SYMBOL | Constant identifying the exponent symbol field. | ||||||||||
FRACTION | Constant identifying the fraction field. | ||||||||||
GROUPING_SEPARATOR | Constant identifying the grouping separator field. | ||||||||||
INTEGER | Constant identifying the integer field. | ||||||||||
PERCENT | Constant identifying the percent field. | ||||||||||
PERMILLE | Constant identifying the permille field. | ||||||||||
SIGN | Constant identifying the sign field. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.text.AttributedCharacterIterator.Attribute
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a Field instance with the specified
name.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Resolves instances being deserialized to the predefined constants.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.text.AttributedCharacterIterator.Attribute
| |||||||||||
From class
java.lang.Object
|
Constant identifying the decimal separator field.
Constant identifying the exponent symbol field.
Constant identifying the grouping separator field.
Creates a Field instance with the specified name.
name | Name of the attribute |
---|
Resolves instances being deserialized to the predefined constants.
InvalidObjectException | if the constant could not be resolved. |
---|