Common DOM API

インタフェース
org.w3c.dom.Element の使用

Element を使用しているパッケージ
org.w3c.dom Java API for XML Processing のコンポーネント API の 1 つである、Document Object Model (ドキュメントオブジェクトモデル: DOM) インタフェースを提供します。 
org.w3c.dom.css   
org.w3c.dom.html   
 

org.w3c.dom での Element の使用
 

Element を返す org.w3c.dom のメソッド
 Element Document.getDocumentElement()
          これはドキュメントのルート要素である子ノードに直接アクセスできるようにする便利な属性です。
 Element Document.createElement(String tagName)
          指定された型の要素を作成します。
 Element Document.createElementNS(String namespaceURI, String qualifiedName)
          指定された修飾名と名前空間 URI を持つ要素を作成します。
 Element Document.getElementById(String elementId)
          指定されたelementIdID に持つ Element オブジェクトを返します。
 Element Attr.getOwnerElement()
          この属性が使われていない場合は null を返し、そうでない場合はこの属性が含まれている Element ノードを返します。
 

org.w3c.dom.css での Element の使用
 

Element 型のパラメータを持つ org.w3c.dom.css のメソッド
 CSSStyleDeclaration ViewCSS.getComputedStyle(Element elt, String pseudoElt)
          このメソッドは、計算されたスタイルを、それが定義されているとおりに取得する ために使用します。
 CSSStyleDeclaration DocumentCSS.getOverrideStyle(Element elt, String pseudoElt)
          このメソッドは、指定した要素と指定した擬似要素に対するオーバーライド宣言を 取得するために使用します。
 

org.w3c.dom.html での Element の使用
 

org.w3c.dom.html での Element のサブインタフェース
 interface HTMLAnchorElement
          アンカー要素。
 interface HTMLAppletElement
          埋め込まれた Java アプレット。
 interface HTMLAreaElement
          クライアント側のイメージマップ領域の定義。
 interface HTMLBaseElement
          ドキュメントの基底 URI。
 interface HTMLBaseFontElement
          ベースフォント。
 interface HTMLBodyElement
          HTML ドキュメントの本文。
 interface HTMLBRElement
          強制的に改行します。
 interface HTMLButtonElement
          プッシュボタン。
 interface HTMLDirectoryElement
          ディレクトリのリスト。
 interface HTMLDivElement
          一般的なブロックコンテナ。
 interface HTMLDListElement
          定義のリスト。
 interface HTMLElement
          すべての HTML 要素インタフェースは、このクラスから派生しています。
 interface HTMLFieldSetElement
          フォームコントロールを論理グループに構成します。
 interface HTMLFontElement
          フォントの局所的な変更。
 interface HTMLFormElement
          FORM 要素は、コレクションや要素に似た動作を網羅しています。
 interface HTMLFrameElement
          フレームを作成します。
 interface HTMLFrameSetElement
          フレームのグリッドを作成します。
 interface HTMLHeadElement
          ドキュメントヘッドの情報。
 interface HTMLHeadingElement
          H1 から H6 要素用。
 interface HTMLHRElement
          横罫線を作成します。
 interface HTMLHtmlElement
          HTML ドキュメントのルート。
 interface HTMLIFrameElement
          インラインのサブウィンドウ。
 interface HTMLImageElement
          埋め込まれたイメージ。
 interface HTMLInputElement
          フォームコントロール。
 interface HTMLIsIndexElement
          この要素は単一行のテキスト入力に使用されます。
 interface HTMLLabelElement
          フォームフィールドのラベルテキスト。
 interface HTMLLegendElement
          FIELDSET によるグループ化にキャプションを付けます。
 interface HTMLLIElement
          リスト項目。
 interface HTMLLinkElement
          LINK 要素では、外部リソースへのリンクを指定し、そのリソースに対する ドキュメントの関係 (またはその逆) を定義します。
 interface HTMLMapElement
          クライアント側のイメージマップ。
 interface HTMLMenuElement
          メニューリスト。
 interface HTMLMetaElement
          ドキュメントに関する一般的なメタ情報が含まれています。
 interface HTMLModElement
          ドキュメントの一部が変更されたことを通知します。
 interface HTMLObjectElement
          一般的な埋め込みオブジェクト。
 interface HTMLOListElement
          順序付けされたリスト。
 interface HTMLOptGroupElement
          オプションを論理的なグループに細分化します。
 interface HTMLOptionElement
          切り替え可能な選択肢。
 interface HTMLParagraphElement
          段落。
 interface HTMLParamElement
          OBJECT 要素に渡されるパラメータ。
 interface HTMLPreElement
          書式設定済みのテキスト。
 interface HTMLQuoteElement
          Q 要素と BLOCKQUOTE 要素用。
 interface HTMLScriptElement
          スクリプト文。
 interface HTMLSelectElement
          select 要素では、オプションを選択できます。
 interface HTMLStyleElement
          スタイル情報。
 interface HTMLTableCaptionElement
          テーブルのキャプション。
 interface HTMLTableCellElement
          code>TH 要素と TD 要素を表すために使用されるオブジェクト。
 interface HTMLTableColElement
          COL 要素や COLGROUP 要素を再グループ化します。
 interface HTMLTableElement
          テーブルに対する create* メソッドと delete* メソッドを使用して、テーブルを構築 したり変更したりします。
 interface HTMLTableRowElement
          テーブルの行。
 interface HTMLTableSectionElement
          THEADTFOOT、および TBODY の各要素。
 interface HTMLTextAreaElement
          複数行のテキストフィールド。
 interface HTMLTitleElement
          ドキュメントのタイトル。
 interface HTMLUListElement
          順序付けされていないリスト。
 


Common DOM API

バグや機能要求の報告
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.