public static class

MessageFormat.Field

extends Format.Field
java.lang.Object
   ↳ java.text.AttributedCharacterIterator.Attribute
     ↳ java.text.Format.Field
       ↳ java.text.MessageFormat.Field

Class Overview

The instances of this inner class are used as attribute keys in AttributedCharacterIterator that the formatToCharacterIterator(Object) method returns.

There is no public constructor in this class, the only instances are the constants defined here.

Summary

Constants
MessageFormat.Field ARGUMENT This constant stands for the message argument.
[Expand]
Inherited Constants
From class java.text.AttributedCharacterIterator.Attribute
Protected Constructors
MessageFormat.Field(String fieldName)
Constructs a new instance of MessageFormat.Field with the given field name.
Protected Methods
Object readResolve()
Resolves instances that are deserialized to the constant MessageFormat.Field values.
[Expand]
Inherited Methods
From class java.text.AttributedCharacterIterator.Attribute
From class java.lang.Object

Constants

public static final MessageFormat.Field ARGUMENT

This constant stands for the message argument.

Protected Constructors

protected MessageFormat.Field (String fieldName)

Constructs a new instance of MessageFormat.Field with the given field name.

Parameters
fieldName the field name.

Protected Methods

protected Object readResolve ()

Resolves instances that are deserialized to the constant MessageFormat.Field values.

Returns
  • the resolved field object.
Throws
InvalidObjectException if an error occurs while resolving the field object.