Home » openjdk-7 » java » text » [javadoc | source]
java.text
public static class: MessageFormat.Field [javadoc | source]
java.lang.Object
   java.text.AttributedCharacterIterator.Attribute
      java.text.Format.Field
         java.text.MessageFormat$Field

All Implemented Interfaces:
    java$io$Serializable

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from MessageFormat.formatToCharacterIterator.
Field Summary
public static final  Field ARGUMENT    Constant identifying a portion of a message that was generated from an argument passed into formatToCharacterIterator. The value associated with the key will be an Integer indicating the index in the arguments array of the argument from which the text was generated. 
Fields inherited from java.text.AttributedCharacterIterator$Attribute:
LANGUAGE,  READING,  INPUT_METHOD_SEGMENT
Constructor:
 protected Field(String name) 
    Creates a Field with the specified name.
    Parameters:
    name - Name of the attribute
Method from java.text.MessageFormat$Field Summary:
readResolve
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.MessageFormat$Field Detail:
 protected Object readResolve() throws InvalidObjectException 
    Resolves instances being deserialized to the predefined constants.