# Print output for @column tags ?>
public
static
class
MessageFormat.Field
extends Format.Field
java.lang.Object | |||
↳ | java.text.AttributedCharacterIterator.Attribute | ||
↳ | java.text.Format.Field | ||
↳ | android.icu.text.MessageFormat.Field |
Defines constants that are used as attribute keys in the
AttributedCharacterIterator
returned
from MessageFormat.formatToCharacterIterator
.
Fields | |
---|---|
public
static
final
MessageFormat.Field |
ARGUMENT
Constant identifying a portion of a message that was generated
from an argument passed into |
Inherited fields |
---|
Protected constructors | |
---|---|
Field(String name)
Create a |
Protected methods | |
---|---|
Object
|
readResolve()
Resolves instances being deserialized to the predefined constants. |
Inherited methods | |
---|---|
public static final MessageFormat.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.
protected Field (String name)
Create a Field
with the specified name.
Parameters | |
---|---|
name |
String : The name of the attribute |
protected Object readResolve ()
Resolves instances being deserialized to the predefined constants.
Returns | |
---|---|
Object |
resolved MessageFormat.Field constant |
Throws | |
---|---|
InvalidObjectException |
if the constant could not be resolved. |