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 inAttributedCharacterIteratorthat theMessageFormat.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
-
-
-
-
Field Detail
-
ARGUMENT
public static final MessageFormat.Field ARGUMENT
This constant stands for the message argument.
-
-
Constructor Detail
-
Field
protected Field(String fieldName)
Constructs a new instance ofMessageFormat.Fieldwith the given field name.- Parameters:
fieldName- the field name.
-
-