DOM - DOMImplementation Object


Advertisements


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

Methods

Following table lists the methods of the DOMImplementation object −

S.No. Method & Description
1 createDocument(namespaceURI, qualifiedName, doctype)

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

2 createDocumentType(qualifiedName, publicId, systemId)

It creates an empty DocumentType node.

3

getFeature(feature, version)

This method returns a specialized object which implements the specialized APIs of the specified feature and version. This has been removed. Refer specs.

4 hasFeature(feature, version)

This method tests if the DOM implementation implements a specific feature and version.



Advertisements
E-Books Store