|
|
The <code> DOMImplementation </code> interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
The DOM Level 1 does not specify a way of creating a document instance, and hence document creation is an operation specific to an implementation. Future Levels of the DOM specification are expected to provide methods for creating documents directly.
DOMImplementation ()
| DOMImplementation |
DOMImplementation (const DOMImplementation &other)
| DOMImplementation |
DOMImplementation & operator = (const DOMImplementation &other)
| operator = |
~DOMImplementation ()
| ~DOMImplementation |
bool hasFeature ( const DOMString &feature, const DOMString &version )
| hasFeature |
Test if the DOM implementation implements a specific feature.
Parameters:
feature | The package name of the feature to test. In Level 1, the legal values are "HTML" and "XML" (case-insensitive). |
version | This is the version number of the package name to test. In Level 1, this is the string "1.0". If the version is not specified, supporting any version of the feature will cause the method to return <code> true </code> . |
Returns: <code> true </code> if the feature is implemented in the specified version, <code> false </code> otherwise.
CSSStyleSheet createCSSStyleSheet (const DOMString &title, const DOMString &media)
| createCSSStyleSheet |
Introduced in DOM Level 2 This method is from the DOMImplementationCSS interface
Creates a new CSSStyleSheet.
media The comma-separated list of media associated with the new style sheet. See also the Style Sheet Interfaces section.
Parameters:
title | The advisory title. See also the Style Sheet Interfaces section. |
Returns: A new CSS style sheet.
Throws: SYNTAX_ERR:, Raised, if, the, specified, media, string, value, has, a, syntax, error, and, is, unparsable.
DOMImplementationImpl * handle ()
| handle |
[const]
not part of the DOM
bool isNull ()
| isNull |
[const]
DOMImplementation (DOMImplementationImpl *i)
| DOMImplementation |
[protected]
DOMImplementationImpl * impl | impl |
[protected]
Generated by: root@daffy.perf.redhat.com on Mon Jul 14 13:28:10 2003, using kdoc 2.0a53. |