JavaTM 2 Platform
Standard Ed. 5.0

java.text
クラス NumberFormat.Field

java.lang.Object
  上位を拡張 java.text.AttributedCharacterIterator.Attribute
      上位を拡張 java.text.Format.Field
          上位を拡張 java.text.NumberFormat.Field
すべての実装されたインタフェース:
Serializable
含まれているクラス:
NumberFormat

public static class NumberFormat.Field
extends Format.Field

NumberFormat.formatToCharacterIterator から返された AttributedCharacterIterator 内の属性キー、および FieldPosition 内のフィールド識別子として使用する定数を定義します。

導入されたバージョン:
1.4
関連項目:
直列化された形式

フィールドの概要
static NumberFormat.Field CURRENCY
          通貨のフィールドを識別する定数です。
static NumberFormat.Field DECIMAL_SEPARATOR
          区切り文字のフィールドを識別する定数です。
static NumberFormat.Field EXPONENT
          指数のフィールドを識別する定数です。
static NumberFormat.Field EXPONENT_SIGN
          指数符号のフィールドを識別する定数です。
static NumberFormat.Field EXPONENT_SYMBOL
          指数記号のフィールドを識別する定数です。
static NumberFormat.Field FRACTION
          小数のフィールドを識別する定数です。
static NumberFormat.Field GROUPING_SEPARATOR
          グループ区切り子のフィールドを識別する定数です。
static NumberFormat.Field INTEGER
          整数のフィールドを識別する定数です。
static NumberFormat.Field PERCENT
          パーセントのフィールドを識別する定数です。
static NumberFormat.Field PERMILLE
          パーミルのフィールドを識別する定数です。
static NumberFormat.Field SIGN
          符号のフィールドを識別する定数です。
 
クラス java.text.AttributedCharacterIterator.Attribute から継承されたフィールド
INPUT_METHOD_SEGMENT, LANGUAGE, READING
 
コンストラクタの概要
protected NumberFormat.Field(String name)
          指定された名前を持つ Field インスタンスを作成します。
 
メソッドの概要
protected  Object readResolve()
          直列化復元されるインスタンスを定義済み定数に解決します。
 
クラス java.text.AttributedCharacterIterator.Attribute から継承されたメソッド
equals, getName, hashCode, toString
 
クラス java.lang.Object から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

INTEGER

public static final NumberFormat.Field INTEGER
整数のフィールドを識別する定数です。


FRACTION

public static final NumberFormat.Field FRACTION
小数のフィールドを識別する定数です。


EXPONENT

public static final NumberFormat.Field EXPONENT
指数のフィールドを識別する定数です。


DECIMAL_SEPARATOR

public static final NumberFormat.Field DECIMAL_SEPARATOR
区切り文字のフィールドを識別する定数です。


SIGN

public static final NumberFormat.Field SIGN
符号のフィールドを識別する定数です。


GROUPING_SEPARATOR

public static final NumberFormat.Field GROUPING_SEPARATOR
グループ区切り子のフィールドを識別する定数です。


EXPONENT_SYMBOL

public static final NumberFormat.Field EXPONENT_SYMBOL
指数記号のフィールドを識別する定数です。


PERCENT

public static final NumberFormat.Field PERCENT
パーセントのフィールドを識別する定数です。


PERMILLE

public static final NumberFormat.Field PERMILLE
パーミルのフィールドを識別する定数です。


CURRENCY

public static final NumberFormat.Field CURRENCY
通貨のフィールドを識別する定数です。


EXPONENT_SIGN

public static final NumberFormat.Field EXPONENT_SIGN
指数符号のフィールドを識別する定数です。

コンストラクタの詳細

NumberFormat.Field

protected NumberFormat.Field(String name)
指定された名前を持つ Field インスタンスを作成します。

パラメータ:
name - 属性の名前
メソッドの詳細

readResolve

protected Object readResolve()
                      throws InvalidObjectException
直列化復元されるインスタンスを定義済み定数に解決します。

オーバーライド:
クラス AttributedCharacterIterator.Attribute 内の readResolve
戻り値:
解決された NumberFormat.Field 定数
例外:
InvalidObjectException - 定数が解釈処理できない場合

JavaTM 2 Platform
Standard Ed. 5.0

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java 2 SDK SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。