DOM::DOMImplementation Struct Reference

#include <DOM.hpp>

List of all members.


Detailed Description

The DOMImplementation class gives information on the current DOM implementation.


Public Member Functions

const DocumentcreateDocument (const DOMString &namespaceURI, const DOMString &qualifiedName, const DocumentType *docType) const
 Create a document with the given parameters.
const DocumentTypecreateDocumentType (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.


Constructor & Destructor Documentation

DOM::DOMImplementation::DOMImplementation ( const volatile HTML::Elements::Allocators::BaseAllocator _allocator  )  [inline]

The default constructor takes an allocator pointer.


Member Function Documentation

const Document * DOM::DOMImplementation::createDocument ( const DOMString namespaceURI,
const DOMString qualifiedName,
const DocumentType docType 
) const

Create a document with the given parameters.

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
Returns:
a pointer on a Document object allocated with the allocator, 0 on error
Exceptions:
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.

Parameters:
qualifiedName The qualified name (usually "html" for HTML document)
publicId The public identifier name
systemId The external identifier name
Returns:
a pointer on a DocumentType object allocated with the allocator, 0 on error
Exceptions:
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.

Parameters:
feature the feature name
version the version number ("1.0", "2.0" etc...)
Returns:
true if the feature is supported, false else

void DOM::DOMImplementation::setAllocator ( const volatile HTML::Elements::Allocators::BaseAllocator _allocator  )  [inline]

Set the allocator if the parameter is not zero.


The documentation for this struct was generated from the following files:

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is