DOM Implementation class. More...
#include <dom_implementation.h>
Public Member Functions | |
DomImplementation () | |
Constructs a DOM Implementation handle. More... | |
DomImplementation (DomDocument &doc) | |
Constructs a DomImplementation. More... | |
~DomImplementation () | |
DomDocument | create_document (const DomString &namespace_uri, const DomString &qualified_name, const DomDocumentType &doctype) |
Creates an XML Document object of the specified type with its document element. More... | |
DomDocumentType | create_document_type (const DomString &qualified_name, const DomString &public_id, const DomString &system_id) |
Creates an empty DocumentType node. More... | |
bool | has_feature (const DomString &feature, const DomString &version) |
Test if the DOM implementation implements a specific feature. More... | |
DOM Implementation class.
The DOM Implementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
clan::DomImplementation::DomImplementation | ( | ) |
Constructs a DOM Implementation handle.
clan::DomImplementation::DomImplementation | ( | DomDocument & | doc | ) |
Constructs a DomImplementation.
doc | = Dom Document |
clan::DomImplementation::~DomImplementation | ( | ) |
DomDocument clan::DomImplementation::create_document | ( | const DomString & | namespace_uri, |
const DomString & | qualified_name, | ||
const DomDocumentType & | doctype | ||
) |
Creates an XML Document object of the specified type with its document element.
DomDocumentType clan::DomImplementation::create_document_type | ( | const DomString & | qualified_name, |
const DomString & | public_id, | ||
const DomString & | system_id | ||
) |
Creates an empty DocumentType node.
Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur. It is expected that a future version of the DOM will provide a way for populating a DocumentType.
Test if the DOM implementation implements a specific feature.
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 true. retval: true if the feature is implemented in the specified version, false otherwise. |