Home » openjdk-7 » java » text » [javadoc | source]
public static class: NumberFormat.Field [javadoc | source]

All Implemented Interfaces:

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from NumberFormat.formatToCharacterIterator and as field identifiers in FieldPosition.
Field Summary
public static final  Field INTEGER    Constant identifying the integer field. 
public static final  Field FRACTION    Constant identifying the fraction field. 
public static final  Field EXPONENT    Constant identifying the exponent field. 
public static final  Field DECIMAL_SEPARATOR    Constant identifying the decimal separator field. 
public static final  Field SIGN    Constant identifying the sign field. 
public static final  Field GROUPING_SEPARATOR    Constant identifying the grouping separator field. 
public static final  Field EXPONENT_SYMBOL    Constant identifying the exponent symbol field. 
public static final  Field PERCENT    Constant identifying the percent field. 
public static final  Field PERMILLE    Constant identifying the permille field. 
public static final  Field CURRENCY    Constant identifying the currency field. 
public static final  Field EXPONENT_SIGN    Constant identifying the exponent sign field. 
Fields inherited from java.text.AttributedCharacterIterator$Attribute:
 protected Field(String name) 
    Creates a Field instance with the specified name.
    name - Name of the attribute
Method from java.text.NumberFormat$Field Summary:
Methods from java.text.AttributedCharacterIterator$Attribute:
equals,   getName,   hashCode,   readResolve,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.text.NumberFormat$Field Detail:
 protected Object readResolve() throws InvalidObjectException 
    Resolves instances being deserialized to the predefined constants.