#include <DOM.hpp>
Public Member Functions | |
const Document * | createDocument (const DOMString &namespaceURI, const DOMString &qualifiedName, const DocumentType *docType) const |
Create a document with the given parameters. | |
const DocumentType * | createDocumentType (const DOMString &qualifiedName, const DOMString &publicId, const DOMString &systemId) const |
Create a document type with the given parameters. | |
DOMImplementation (const volatile HTML::Elements::Allocators::BaseAllocator *_allocator) | |
The default constructor takes an allocator pointer. | |
const bool | hasFeature (const DOMString &feature, const DOMString &version) const throw () |
Tell if this implementation has the given feature with the given version. | |
void | setAllocator (const volatile HTML::Elements::Allocators::BaseAllocator *_allocator) |
Set the allocator if the parameter is not zero. |
DOM::DOMImplementation::DOMImplementation | ( | const volatile HTML::Elements::Allocators::BaseAllocator * | _allocator | ) | [inline] |
The default constructor takes an allocator pointer.
const Document * DOM::DOMImplementation::createDocument | ( | const DOMString & | namespaceURI, | |
const DOMString & | qualifiedName, | |||
const DocumentType * | docType | |||
) | const |
Create a document with the given parameters.
namespaceURI | The namespace URI (usually http://www.w3.org/1999/xhtml for html) | |
qualifiedName | The qualified name (usually "html" for HTML document) | |
docType | The document type previously created |
Exceptions::Namespace | or Exceptions::InvalidCharacter or Exceptions::WrongDocument on any of such error |
const DocumentType * DOM::DOMImplementation::createDocumentType | ( | const DOMString & | qualifiedName, | |
const DOMString & | publicId, | |||
const DOMString & | systemId | |||
) | const |
Create a document type with the given parameters.
qualifiedName | The qualified name (usually "html" for HTML document) | |
publicId | The public identifier name | |
systemId | The external identifier name |
Exceptions::Namespace | or Exceptions::InvalidCharacter on any of such error |
const bool DOM::DOMImplementation::hasFeature | ( | const DOMString & | feature, | |
const DOMString & | version | |||
) | const throw () |
Tell if this implementation has the given feature with the given version.
feature | the feature name | |
version | the version number ("1.0", "2.0" etc...) |
void DOM::DOMImplementation::setAllocator | ( | const volatile HTML::Elements::Allocators::BaseAllocator * | _allocator | ) | [inline] |
Set the allocator if the parameter is not zero.