This interface could be considered the highest level interface in the DOM. It exposes the hasFeature( ) method, which allows a programmer using a given DOM implementation to detect if specific features are available. In DOM Level 2, it also provides facilities for creating new DocumentType nodes, which can then be used to create new Document instances. Table 18-15 describes the DomImplementation interface.
Type |
Name |
DOM 2.0 |
||
---|---|---|---|---|
Methods |
||||
Document |
createDocument |
|
||
DOMString |
namespaceURI |
|
||
DOMString |
qualifiedName |
|
||
DocumentType |
doctype |
|
||
DocumentType |
createDocumentType |
|
||
DOMString |
qualifiedName |
|
||
DOMString |
publicId |
|
||
DOMString |
systemId |
|
||
Boolean |
hasFeature |
|||
DOMString |
feature |
|||
DOMString |
version |
Copyright © 2002 O'Reilly & Associates. All rights reserved.