java.text
Class MessageFormat.Field
java.lang.Object
java.text.AttributedCharacterIterator.Attribute
java.text.Format.Field
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
|
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 |
ARGUMENT
public static final MessageFormat.Field ARGUMENT
- This constant stands for the message argument.
MessageFormat.Field
protected MessageFormat.Field(String fieldName)
- Constructs a new instance of MessageFormat.Field with the given field
name.
- Parameters:
fieldName - The field name.
readResolve
protected Object readResolve()
throws InvalidObjectException
- serialization method resolve instances to the constant
MessageFormat.Field values
- Overrides:
readResolve in class AttributedCharacterIterator.Attribute
- Throws:
InvalidObjectException
Please submit a feedback, bug or feature