Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
org.w3c.dom

Interface DOMImplementation

java.lang.Object
|
+--org.w3c.dom.DOMImplementation


public interface DOMImplementation

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

See also the Document Object Model (DOM) Level 2 Core Specification.

Method Summary

org.w3c.dom.DocumentcreateDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, org.w3c.dom.DocumentType doctype)

Creates a DOM Document object of the specified type with its document element.
org.w3c.dom.DocumentTypecreateDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)

Creates an empty DocumentType node.
booleanhasFeature(java.lang.String feature, java.lang.String version)

Test if the DOM implementation implements a specific feature.

Method Details

createDocument

public Document createDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, org.w3c.dom.DocumentType doctype)

Creates a DOM Document object of the specified type with its document element.

Since:Parameters:

Returns:

Throws:


createDocumentType

public DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)

Creates an empty DocumentType node. Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur. It is expected that a future version of the DOM will provide a way for populating a DocumentType.

Since:Parameters:

Returns:

Throws:


hasFeature

public boolean hasFeature(java.lang.String feature, java.lang.String version)

Test if the DOM implementation implements a specific feature.

Parameters:

Returns: