The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model. |
Default Constructor |
DOMImplementation(GdomeDOMImplementation* = 0) |
Creates a smart pointer for the Gdome element whose pointer is passed as an argument. The user should never pass a non-null pointer to this constructor. |
Copy and Cast Constructors |
DOMImplementation(const
DOMImplementation&)
|
These constructors can be used to copy a smart pointer or to downcast it. If the downcasting is not possible, the resulting smart pointer will be null. |
Copy Operator |
DOMImplementation& operator=(const DOMImplementation&) |
Equality |
bool operator==(const
DOMImplementation&) const
bool operator!=(const DOMImplementation&) const |
Two smart pointers are equal if they point to the same Gdome object. |
Methods |
bool hasFeature(const DOMString& feature, const DOMString& version) |
Parameters:
Test if the DOM implementation implements a specific feature. |
DocumentType createDocumentType(const DOMString& qualifiedName, const DOMString& publicId, const DOMString& systemId) |
Parameters:
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. HTML-only DOM implementations do not need to implement this method. Exceptions:
|
Document createDocument(const DOMString& namespaceURI, const DOMString& qualifiedName, const DocumentType& doctype) |
Parameters:
Creates an XML Document object of the specified type with its document element. HTML-only DOM implementations do not need to implement this method. Exceptions:
|