http://www.w3.org/wiki/DOM/domcore/DOMImplementation
DOM/domcore/DOMImplementation
DOMImplementation
The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
Methods
| Name | Description |
|---|---|
hasFeature(feature, version) | Test if the DOM implementation implements a specific feature and version. |
createDocumentType(qualifiedName, publicId, systemId) | Creates an empty DocumentType node. |
createDocument(namespace, qualifiedName, doctype) | Creates a DOM Document object of the specified type with its document element. |
createHTMLDocument(title) | Creates a HTML Document. |
本文介绍了 DOMImplementation 接口的功能及其提供的方法,包括 hasFeature 方法用于检查 DOM 实现是否支持特定功能和版本,createDocumentType 方法用于创建空的 DocumentType 节点,createDocument 方法用于创建指定类型的 DOMDocument 对象,以及 createHTMLDocument 方法用于创建 HTMLDocument。
455

被折叠的 条评论
为什么被折叠?



