クラス
javax.swing.text.html.parser.Elementの使用
-
Elementを使用するパッケージ パッケージ 説明 javax.swing.text.html.parser デフォルトのHTMLパーサーを、サポート・クラスとともに提供します。 -
-
javax.swing.text.html.parserでのElementの使用
Elementとして宣言されているjavax.swing.text.html.parser内のフィールド 修飾子と型 フィールド 説明 Element
DTD. applet
アプレットに対応する要素。Element
DTD. base
基底に対応する要素。Element
DTD. body
本文に対応する要素。Element
DTD. head
頭に対応する要素。Element
DTD. html
htmlに対応する要素。Element
DTD. isindex
isindexに対応する要素。Element
DTD. meta
メタに対応する要素。Element
DTD. p
pに対応する要素。Element
DTD. param
paramに対応する要素。Element
DTD. pcdata
pcdataに対応する要素。Element
DTD. title
タイトルに対応する要素。Element型の型パラメータを持つjavax.swing.text.html.parser内のフィールド 修飾子と型 フィールド 説明 Hashtable<String,Element>
DTD. elementHash
ハッシュ表には、要素の名前と対応する要素が含まれています。Vector<Element>
DTD. elements
要素のベクトルElementを返すjavax.swing.text.html.parser内のメソッド 修飾子と型 メソッド 説明 protected Element
DTD. defElement(String name, int type, boolean omitStart, boolean omitEnd, ContentModel content, String[] exclusions, String[] inclusions, AttributeList atts)
Element
を作成し、返します。Element
DTD. defineElement(String name, int type, boolean omitStart, boolean omitEnd, ContentModel content, BitSet exclusions, BitSet inclusions, AttributeList atts)
指定したパラメータに一致するElement
を返します。Element
ContentModel. first()
次の要素を返します。Element
DTD. getElement(int index)
要素をインデックスで返します。Element
DTD. getElement(String name)
要素を名前で取得します。Element
TagElement. getElement()
要素を返します。Element型のパラメータを持つjavax.swing.text.html.parser内のメソッド 修飾子と型 メソッド 説明 protected TagElement
Parser. makeTag(Element elem)
TagElementを作成します。protected TagElement
Parser. makeTag(Element elem, boolean fictional)
TagElementを作成します。protected void
Parser. markFirstTime(Element elem)
ドキュメント内で最初に見つかったタグにマークを付けます。Element型の型引数を持つjavax.swing.text.html.parser内のメソッド・パラメータ 修飾子と型 メソッド 説明 void
ContentModel. getElements(Vector<Element> elemVec)
このcontentModelの一部である要素のリストを使って、elemVecを更新します。Element型のパラメータを持つjavax.swing.text.html.parser内のコンストラクタ コンストラクタ 説明 ContentModel(Element content)
要素のコンテンツ・モデルを作成します。TagElement(Element elem)
fictional
がfalse
に等しいジェネリックHTML TagElementクラスを作成します。TagElement(Element elem, boolean fictional)
ジェネリックHTML TagElementクラスを作成します。
-