モジュール java.xml
パッケージ org.w3c.dom.bootstrap

クラスDOMImplementationRegistry

java.lang.Object
org.w3c.dom.bootstrap.DOMImplementationRegistry

public final class DOMImplementationRegistry extends Object
アプリケーションがDOMImplementationのインスタンスを取得できるようにするためのファクトリ。

例:

  // get an instance of the DOMImplementation registry
  DOMImplementationRegistry registry =
       DOMImplementationRegistry.newInstance();
  // get a DOM implementation the Level 3 XML module
  DOMImplementation domImpl =
       registry.getDOMImplementation("XML 3.0");
 

これにより、実装に依存しない始点を持つアプリケーションが提供されます。 DOM実装は、このクラスを変更して新しいセキュリティ基準に合わせたり、DOMImplementationSourceのリストにフォール・バックを追加したりできます。

導入されたバージョン:
1.5、DOMレベル3
関連項目: