com.ibm.icu.text
Class NumberFormat.Field

java.lang.Object
  extended by java.text.AttributedCharacterIterator.Attribute
      extended by java.text.Format.Field
          extended by com.ibm.icu.text.NumberFormat.Field
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
NumberFormat

public static class NumberFormat.Field
extends java.text.Format.Field

[Spark/CDL] 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:
Serialized Form

Field Summary
static NumberFormat.Field CURRENCY
           
static NumberFormat.Field DECIMAL_SEPARATOR
           
static NumberFormat.Field EXPONENT
           
static NumberFormat.Field EXPONENT_SIGN
           
static NumberFormat.Field EXPONENT_SYMBOL
           
static NumberFormat.Field FRACTION
           
static NumberFormat.Field GROUPING_SEPARATOR
           
static NumberFormat.Field INTEGER
           
static NumberFormat.Field PERCENT
           
static NumberFormat.Field PERMILLE
           
static NumberFormat.Field SIGN
           
 
Fields inherited from class java.text.AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, LANGUAGE, READING
 
Constructor Summary
protected NumberFormat.Field(java.lang.String fieldName)
          Constructs a new instance of NumberFormat.Field with the given field name.
 
Method Summary
protected  java.lang.Object readResolve()
          serizalization method resolve instances to the constant NumberFormat.Field values
 
Methods inherited from class java.text.AttributedCharacterIterator.Attribute
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SIGN

public static final NumberFormat.Field SIGN

INTEGER

public static final NumberFormat.Field INTEGER

FRACTION

public static final NumberFormat.Field FRACTION

EXPONENT

public static final NumberFormat.Field EXPONENT

EXPONENT_SIGN

public static final NumberFormat.Field EXPONENT_SIGN

EXPONENT_SYMBOL

public static final NumberFormat.Field EXPONENT_SYMBOL

DECIMAL_SEPARATOR

public static final NumberFormat.Field DECIMAL_SEPARATOR

GROUPING_SEPARATOR

public static final NumberFormat.Field GROUPING_SEPARATOR

PERCENT

public static final NumberFormat.Field PERCENT

PERMILLE

public static final NumberFormat.Field PERMILLE

CURRENCY

public static final NumberFormat.Field CURRENCY
Constructor Detail

NumberFormat.Field

protected NumberFormat.Field(java.lang.String fieldName)
Constructs a new instance of NumberFormat.Field with the given field name.

Method Detail

readResolve

protected java.lang.Object readResolve()
                                throws java.io.InvalidObjectException
serizalization method resolve instances to the constant NumberFormat.Field values

Overrides:
readResolve in class java.text.AttributedCharacterIterator.Attribute
Throws:
java.io.InvalidObjectException


Copyright (c) 2007 IBM Corporation and others.