Platform Support
IE | Mozilla | Netscape | Opera | Safari | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
---|
Constructors
Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | ||
---|---|---|---|---|---|---|---|---|
DOMImplementation Constructor() : DOMImplementation
Provides methods for performing operations that are DOM implementation independent.
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | ||
DOMImplementation() : DOMImplementationProvides methods for performing operations that are DOM implementation independent. Returns
|
Functions
Method | Action | IE | Mozilla | Netscape | Opera | Safari | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
static createCSSStyleSheet(String title, String media) : CSSStyleSheet
Creates a new CSSStyleSheet object.
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | |||||||||||
Parameters
Returns
|
|||||||||||||||||
static createDocument(String namespaceURI, String qualifiedName, [DocumentType doctype]) : Document
Creates an XML document object.
|
Show Details | no | 1.0+ | 6.0+ | 8.0+ | 1.3+ | |||||||||||
Parameters
Returns
|
|||||||||||||||||
static createDocumentType(String qualifiedName, String publicId, String systemId) : DocumentType
Creates an empty DOCTYPE node for use in an XML document object
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | |||||||||||
Parameters
Returns
|
|||||||||||||||||
createHTMLDocument(Object title) : HTMLDocument
Creates a blank HTML document that contains properly nested html, head, title, and body tags.
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | |||||||||||
Parameters
Returns
|
|||||||||||||||||
hasFeature(String feature, [String version]) : Boolean
Tests a feature to see if the current DOM implementation supports the feature/version.
|
Show Details | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ | |||||||||||
Parameters
Returns
|
Remarks
This object defines methods for performing operations that are independant
of any particular instance of the DOM. It is equivilant to the Global
object in ECMA-262.This permits a user to, for instance, create new documents, or determine if
the DOM implementation supports some given feature. These are methods that
do not belong in any DOM instance-related objects.
Availability
HTML DOM Level 2|W3C