class DOMImplementation

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

Full nameDOM::DOMImplementation
Definition#include <dom_doc.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


Detailed Description

The DOMImplementation 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:
featureThe package name of the feature to test. In Level 1, the legal values are "HTML" and "XML" (case-insensitive).
versionThis 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 true .

Returns: true if the feature is implemented in the specified version, false 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:
titleThe 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: dfaure on kde.faure.org on Thu Jan 17 22:18:15 2002, using kdoc 2.0a53.