Package com.ibm.icu.text
Class NumberFormat.Field
java.lang.Object
java.text.AttributedCharacterIterator.Attribute
java.text.Format.Field
com.ibm.icu.text.NumberFormat.Field
- All Implemented Interfaces:
Serializable
- Enclosing class:
NumberFormat
The instances of this inner class are used as attribute keys and values
in AttributedCharacterIterator that
NumberFormat.formatToCharacterIterator() method returns.
There is no public constructor to this class, the only instances are the constants defined here.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NumberFormat.Field
Approximately sign.static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
static final NumberFormat.Field
Fields inherited from class java.text.AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, LANGUAGE, READING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
serizalization method resolve instances to the constant NumberFormat.Field valuesMethods inherited from class java.text.AttributedCharacterIterator.Attribute
equals, getName, hashCode, toString
-
Field Details
-
SIGN
-
INTEGER
-
FRACTION
-
EXPONENT
-
EXPONENT_SIGN
-
EXPONENT_SYMBOL
-
DECIMAL_SEPARATOR
-
GROUPING_SEPARATOR
-
PERCENT
-
PERMILLE
-
CURRENCY
-
MEASURE_UNIT
-
COMPACT
-
APPROXIMATELY_SIGN
Approximately sign. In ICU 70, this was categorized under the generic SIGN field.
-
-
Constructor Details
-
Field
Constructs a new instance of NumberFormat.Field with the given field name.
-
-
Method Details
-
readResolve
serizalization method resolve instances to the constant NumberFormat.Field values- Overrides:
readResolve
in classAttributedCharacterIterator.Attribute
- Throws:
InvalidObjectException
-