Build 1.0_r1(from source)

java.text
Class MessageFormat.Field

java.lang.Object
  extended by java.text.AttributedCharacterIterator.Attribute
      extended by java.text.Format.Field
          extended by java.text.MessageFormat.Field
All Implemented Interfaces:
Serializable
Enclosing class:
MessageFormat

public static class MessageFormat.Field
extends Format.Field

The instances of this inner class are used as attribute keys in AttributedCharacterIterator that MessageFormat.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 MessageFormat.Field ARGUMENT
          This constant stands for the message argument.
 
Fields inherited from class java.text.AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, LANGUAGE, READING
 
Constructor Summary
protected MessageFormat.Field(String fieldName)
          Constructs a new instance of MessageFormat.Field with the given field name.
 
Method Summary
protected  Object readResolve()
          serialization method resolve instances to the constant MessageFormat.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

ARGUMENT

public static final MessageFormat.Field ARGUMENT
This constant stands for the message argument.

Constructor Detail

MessageFormat.Field

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

Parameters:
fieldName - The field name.
Method Detail

readResolve

protected Object readResolve()
                      throws InvalidObjectException
serialization method resolve instances to the constant MessageFormat.Field values

Overrides:
readResolve in class AttributedCharacterIterator.Attribute
Throws:
InvalidObjectException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature