モジュール java.xml
パッケージ org.w3c.dom
Document Object Model (DOM)のインタフェースを提供します。 「ドキュメント・オブジェクト・モデル(DOM)レベル2コア仕様」、「ドキュメント・オブジェクト・モデル(DOM)レベル3コア仕様」、および「ドキュメント・オブジェクト・モデル(DOM)レベル3読み込みと保存の仕様」をサポートします。
- 導入されたバージョン:
- 1.4
-
インタフェースのサマリー インタフェース 説明 Attr Attr
インタフェースは、Element
オブジェクトの1つの属性を表現します。CDATASection CDATAセクションは、マークアップと見なされる文字を含んだテキスト・ブロックをエスケープするために使用されます。CharacterData CharacterData
インタフェースは、属性とメソッドのセットを追加してNodeを拡張することにより、DOM内の文字データにアクセスできるようにします。Comment このインタフェースはCharacterData
から継承し、コメントの内容、つまり開始する'<!--
'と終了する'-->
'の間のすべての文字を表します。Document Document
インタフェースは、HTML文書またはXML文書全体を表します。DocumentFragment DocumentFragment
は、「軽量(最小限度)」のDocument
オブジェクトです。DocumentType 各Document
は、null
またはDocumentType
オブジェクトを値とするdoctype
属性を備えています。DOMConfiguration DOMConfiguration
インタフェースは文書の構成を表し、認められているパラメータのテーブルを保持します。DOMError DOMError
は、エラーを記述するインタフェースです。DOMErrorHandler DOMErrorHandler
は、XMLデータの処理中や、その他の何らかの処理の実行中(文書の検証中など)に発生するエラーを報告するときに、DOM実装が呼び出すことができるコールバック・インタフェースです。DOMImplementation DOMImplementation
インタフェースは、文書オブジェクト・モデルの特定のインスタンスに依存しない操作を実行するためのメソッドをいくつか提供します。DOMImplementationList DOMImplementationList
インタフェースは、DOM実装の順序付きコレクションの抽象を提供します。このコレクションの実装方法を定義または制限することはありません。DOMImplementationSource このインタフェースを使用すると、DOM実装者は、要求された機能とバージョンに基づいて1つ以上の実装を、DOM Featuresで指定されたとおりに提供できます。DOMLocator DOMLocator
は、エラーを記述するインタフェースです:DOMStringList DOMStringList
インタフェースは、DOMString
値の順序付きコレクションの抽象を提供します。このコレクションの実装方法を定義または制限することはありません。Element Element
インタフェースは、HTML文書またはXML文書内の要素を表します。ElementTraversal ElementTraversal
インタフェースは、作成者がドキュメント内の要素間を簡単に移動できるようにする読み取り専用属性のセットです。Entity このインタフェースは、XML文書内の解析対象または解析対象外の既知のエンティティを表します。EntityReference EntityReference
ノードを使用してツリーのエンティティ参照を表現できます。NamedNodeMap NamedNodeMap
インタフェースを実装するオブジェクトは、名前を指定してアクセスできるノードのコレクションを表すために使用されます。NameList NameList
インタフェースは、名前と名前空間値(null値の場合もあり)の並列の対の順序付きコレクションの抽象を提供します。このコレクションの実装方法を定義または制限することはありません。Node Node
インタフェースはDocument Object Model全体の主要なデータ型です。NodeList NodeList
インタフェースは、ノードの順序付きコレクションの抽象を提供します。このコレクションの実装方法を定義または制限することはありません。Notation このインタフェースは、DTDに宣言されている表記法を表します。ProcessingInstruction ProcessingInstruction
インタフェースは、文書のテキスト内にプロセッサ固有の情報を保存するためにXMLで使用される「処理命令」を表します。Text Text
インタフェースはCharacterData
を継承し、Element
またはAttr
のテキスト形式の内容(XMLでは文字データという)を表します。TypeInfo TypeInfo
インタフェースは、文書に関連するスキーマで指定されたElement
ノードまたはAttr
ノードから参照される型を表します。UserDataHandler Node.setUserData()
を使用してノードのキーにオブジェクトを関連付けると、アプリケーションでは、そのオブジェクトが関連付けられているノードが複製、インポート、または名前変更されるときに呼び出されるハンドラを提供できます。 -
例外のサマリー Exception 説明 DOMException DOM操作によって例外が発生するのは、ごく「例外的な」場合のみです。たとえば、論理上の問題、データの損失、実装の安定性の欠如などが原因で操作を実行できない場合にのみ、例外が発生します。