クラスAttributeList
java.lang.Object
javax.swing.text.html.parser.AttributeList
- すべての実装されたインタフェース:
Serializable, DTDConstants
public final class AttributeList extends Object implements DTDConstants, Serializable
このクラスは、ATTLIST構成要素を使って、DTDに記述されたとおりにSGML要素の属性を定義します。 AttributeListは、getAttributes()メソッドを使ってElementクラスから取得できます。
実際には、これはリンクされたリスト内の要素です。 要素の属性をすべて列挙するには、getNext()メソッドを繰返し使ってください。
- 関連項目:
-
フィールドのサマリー
フィールドインタフェースで宣言されたフィールド DTDConstants
ANY, CDATA, CONREF, CURRENT, DEFAULT, EMPTY, ENDTAG, ENTITIES, ENTITY, FIXED, GENERAL, ID, IDREF, IDREFS, IMPLIED, MD, MODEL, MS, NAME, NAMES, NMTOKEN, NMTOKENS, NOTATION, NUMBER, NUMBERS, NUTOKEN, NUTOKENS, PARAMETER, PI, PUBLIC, RCDATA, REQUIRED, SDATA, STARTTAG, SYSTEM修飾子と型フィールド説明static final intDTD定数はANYに対応static final intDTD定数はCDATAに対応static final intDTD定数はCONREFに対応static final intDTD定数は、CURRENTに対応static final intDTD定数はDEFAULTに対応static final intDTD定数はEMPTYに対応static final intDTD定数はENDTAGに対応static final intDTD定数はENTITIESに対応static final intDTD定数はENTITYに対応static final intDTD定数はFIXEDに対応static final intDTD定数はGENERALに対応static final intDTD定数はIDに対応static final intDTD定数はIDREFに対応static final intDTD定数はIDREFSに対応static final intDTD定数はIMPLIEDに対応static final intDTD定数はMDに対応static final intDTD定数はMODELに対応static final intDTD定数はMSに相当static final intDTD定数はNAMEに対応static final intDTD定数はNAMESに対応static final intDTD定数はNMTOKENに対応static final intDTD定数はNMTOKENSに対応static final intDTD定数はNOTATIONに対応static final intDTD定数はNUMBERに対応static final intDTD定数はNUMBERSに対応static final intDTD定数はNUTOKENに対応static final intDTD定数はNUTOKENSに対応static final intDTD定数はPARAMETERに対応static final intDTD定数はPIに対応static final intDTD定数はPUBLICに対応static final intDTD定数はRCDATAに対応static final intDTD定数はREQUIREDに対応static final intDTD定数はSDATAに対応static final intDTD定数はSTARTTAGに対応static final intDTD定数はSYSTEMに対応 -
コンストラクタのサマリー
コンストラクタコンストラクタ説明AttributeList(String name) 属性リストの要素を作成します。AttributeList(String name, int type, int modifier, String value, Vector<?> values, AttributeList next) 属性リストの要素を作成します。 -
メソッドのサマリー
クラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
-
フィールド詳細
-
name
public String name属性名 -
type
public int type属性型 -
values
public Vector<?> values可能な属性値 -
modifier
public int modifier属性変更子 -
value
public String valueデフォルトの属性値 -
next
public AttributeList nextリストの次の属性
-
-
コンストラクタの詳細
-
AttributeList
-
AttributeList
public AttributeList(String name, int type, int modifier, String value, Vector<?> values, AttributeList next) 属性リストの要素を作成します。- パラメータ:
name- 属性名type- 属性の型modifier- 属性変更子value- デフォルトの属性値values- 可能な属性値next- リスト内の次の属性
-
-
メソッドの詳細
-
getName
-
getType
public int getType()属性タイプを返します。- 戻り値:
- 属性の型
- 関連項目:
-
getModifier
public int getModifier()属性修飾子を返します。- 戻り値:
- 属性変更子
- 関連項目:
-
getValues
-
getValue
-
getNext
-
toString
-
name2type
-
type2name
-