This class defines a
typesafe
enumeration of
AttributedCharacterIterator.Attribute objects that
may be used by the AttributedCharacterIterator
returned by formatToCharacterIterator( ) method
inherited from the Format class, or that may be
used when creating a FieldPosition object to pass
to format( ) in order to obtain the bounds of a
specific number field (such as the decimal point for aligning
numbers) in formatted output.
public static class NumberFormat.Field extends Format.Field {
// Protected Constructors
protected Field(String name);
// Public Constants
public static final NumberFormat.Field CURRENCY;
public static final NumberFormat.Field DECIMAL_SEPARATOR;
public static final NumberFormat.Field EXPONENT;
public static final NumberFormat.Field EXPONENT_SIGN;
public static final NumberFormat.Field EXPONENT_SYMBOL;
public static final NumberFormat.Field FRACTION;
public static final NumberFormat.Field GROUPING_SEPARATOR;
public static final NumberFormat.Field INTEGER;
public static final NumberFormat.Field PERCENT;
public static final NumberFormat.Field PERMILLE;
public static final NumberFormat.Field SIGN;
// Protected Methods Overriding AttributedCharacterIterator.Attribute
protected Object readResolve( ) throws java.io.InvalidObjectException;
}