public static class AttributedCharacterIterator.Attribute extends Object implements Serializable
AttributedCharacterIteratorおよびAttributedStringで使用されます。 AttributedCharacterIterator, AttributedString, 直列化された形式| 修飾子と型 | フィールド | 説明 |
|---|---|---|
static AttributedCharacterIterator.Attribute |
INPUT_METHOD_SEGMENT |
インプット・メソッドのセグメントを表す属性キーです。
|
static AttributedCharacterIterator.Attribute |
LANGUAGE |
テキストの言語を表す属性キーです。
|
static AttributedCharacterIterator.Attribute |
READING |
テキストの読み方を表す属性キーです。
|
public static final AttributedCharacterIterator.Attribute LANGUAGE
値はLocaleのインスタンスです。
Localepublic static final AttributedCharacterIterator.Attribute READING
値はStringのインスタンスを保持するAnnotationのインスタンスです。
Annotation, Stringpublic static final AttributedCharacterIterator.Attribute INPUT_METHOD_SEGMENT
値はnull参照を保持するAnnotationのインスタンスです。
Annotationprotected Attribute(String name)
Attributeを構築します。name - Attributeの名前public final boolean equals(Object obj)
xとyが同じオブジェクトを参照している場合にだけx.equals(y)にtrueを返します。すべてのサブクラスで動作が保証されます。 equals、クラスObjectobj - 比較対象の参照オブジェクト。true、それ以外の場合はfalse。Object.hashCode()、HashMappublic final int hashCode()
Object内のものと同一であり、最終バージョンです。 hashCode、クラスObjectObject.equals(java.lang.Object), System.identityHashCode(java.lang.Object)public String toString()
"("、属性を識別する名前の")"の連結を返します。 protected String getName()
Attributeの名前protected Object readResolve() throws InvalidObjectException
AttributeオブジェクトInvalidObjectException - 解決するオブジェクトがAttributeのインスタンスではない場合 バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。