Package 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 the
MessageFormat.formatToCharacterIterator(Object) method returns.
There is no public constructor in this class, the only instances are the constants defined here.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static MessageFormat.FieldARGUMENTThis constant stands for the message argument.Fields inherited from class java.text.AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, LANGUAGE, READING -
Constructor Summary
-
Method Summary
Methods inherited from class java.text.AttributedCharacterIterator.Attribute
equals, getName, hashCode, readResolve, toString
-
Field Details
-
ARGUMENT
This constant stands for the message argument.
-
-
Constructor Details
-
Field
Constructs a new instance ofMessageFormat.Fieldwith the given field name.- Parameters:
fieldName- the field name.
-