DOM::DOMImplementation Class Reference
TheDOMImplementation
interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
More...
#include <dom_doc.h>
Public Member Functions | |
DOMImplementation (const DOMImplementation &other) | |
DOMImplementation & | operator= (const DOMImplementation &other) |
bool | hasFeature (const DOMString &feature, const DOMString &version) |
DocumentType | createDocumentType (const DOMString &qualifiedName, const DOMString &publicId, const DOMString &systemId) |
Document | createDocument (const DOMString &namespaceURI, const DOMString &qualifiedName, const DocumentType &doctype) |
DOMImplementation | getInterface (const DOMString &feature) const |
CSSStyleSheet | createCSSStyleSheet (const DOMString &title, const DOMString &media) |
HTMLDocument | createHTMLDocument (const DOMString &title) |
DOMImplementationImpl * | handle () const |
bool | isNull () const |
Protected Member Functions | |
DOMImplementation (DOMImplementationImpl *i) | |
Protected Attributes | |
DOMImplementationImpl * | impl |
Friends | |
class | Document |
Detailed Description
TheDOMImplementation
interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
DOM Level 2 and newer provide means for creating documents directly, which was not possible with DOM Level 1.
Definition at line 77 of file dom_doc.h.
Member Function Documentation
|
Test if the DOM implementation implements a specific feature.
Definition at line 71 of file dom_doc.cpp. |
|
Introduced in DOM Level 2. 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.
Definition at line 79 of file dom_doc.cpp. |
|
Introduced in DOM Level 2. Creates an XML Document object of the specified type with its document element. HTML-only DOM implementations do not need to implement this method.
WRONG_DOCUMENT_ERR: Raised if doctype has already been used with a different document or was created from a different implementation. Definition at line 93 of file dom_doc.cpp. |
|
Introduced in DOM Level 3 This method makes available a DOMImplementation's specialized interface.
Definition at line 121 of file dom_doc.cpp. |
|
Introduced in DOM Level 2 This method is from the DOMImplementationCSS interface. Creates a new CSSStyleSheet.
Definition at line 129 of file dom_doc.cpp. |
|
Introduced in DOM Level 2 This method is from the HTMLDOMImplementation interface. Creates an HTMLDocument with the minimal tree made of these elements: HTML,HEAD,TITLE and BODY. It extends the core interface which can be used to create an XHTML document by passing the XHTML namespace as the namespace for the root element.
Definition at line 107 of file dom_doc.cpp. References QString::fromLatin1(). |
The documentation for this class was generated from the following files: