xmldom::DomImplementation Class Reference

#include <DomImplementation.h>

Inherits xmldom::DomImplementationLS.

Inheritance diagram for xmldom::DomImplementation:

Inheritance graph
[legend]
List of all members.

Detailed Description

Reserved for later use.

This is a placeholder for a DOM Level 3 class to avoid name conflicts later. The class is not implemented, and has no function.


Public Member Functions

 DomImplementation ()
 ctor
 DomImplementation (const DomImplementation &copy)
 copy ctor
virtual ~DomImplementation ()
 dtor
const DomImplementationoperator= (const DomImplementation &assign)
 assign
virtual DomLSParser createLSParser (LSMode mode, LSSchemaType schemaType)
 Create a new LSParser.
virtual DomLSSerializer createLSSerializer ()
 Create a new LSSerializer object.
DOM Level 1
bool hasFeature (const DomString &feature, const DomString &version) const
 Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.
DOM Level 2
DomDocumentType createDocumentType (const DomString &qualifiedName, const DomString &publicId, const DomString &systemId)
 Creates an empty DomDocumentType node.
DomDocument createDocument (const DomString &namespaceURI, const DomString &qualifiedName, const DomDocumentType &documentType)
 Creates a DOM Document object of the specified type with its document element.
Extensions
bool isNull () const
 Check if this implementation is "null".


Constructor & Destructor Documentation

xmldom::DomImplementation::DomImplementation (  ) 

ctor

xmldom::DomImplementation::DomImplementation ( const DomImplementation copy  ) 

copy ctor

xmldom::DomImplementation::~DomImplementation (  )  [virtual]

dtor


Member Function Documentation

const DomImplementation & xmldom::DomImplementation::operator= ( const DomImplementation assign  ) 

assign

bool xmldom::DomImplementation::hasFeature ( const DomString feature,
const DomString version 
) const

Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.

Parameters:
feature The name of the feature to test.
version This is the version number of the feature to test.

DomDocumentType xmldom::DomImplementation::createDocumentType ( const DomString qualifiedName,
const DomString publicId,
const DomString systemId 
)

Creates an empty DomDocumentType node.

Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur.

Parameters:
qualifiedName The qualified name of the document type to be created.
publicId The external subset public identifier.
systemId The external subset system identifier.
Returns:
A new DocumentType node with DomNode::getOwnerDocument() set to null.

DomDocument xmldom::DomImplementation::createDocument ( const DomString namespaceURI,
const DomString qualifiedName,
const DomDocumentType documentType 
)

Creates a DOM Document object of the specified type with its document element.

Note that based on the DomDocumentType given to create the document, the implementation may instantiate specialized DomDocument objects that support additional features than the "Core", such as "HTML" [DOM Level 2 HTML]. On the other hand, setting the DomDocumentType after the document was created makes this very unlikely to happen.

Parameters:
namespaceURI The namespace URI of the document element to create or null.
qualifiedName The qualified name of the document element to be created or null.
dodocumentType The type of document to be created or null. When documentType is not null, its DomNode::getOwnerDocument() attribute is set to the document being created.
Returns:
A new DomDocument object with its document element. If the DomDocument::getNamespaceURI(), DomDocument::getQualifiedName(), and DomDocument::getDocumentType() are null, the returned DomDocument is empty with no document element.

bool xmldom::DomImplementation::isNull (  )  const

Check if this implementation is "null".

DomLSParser xmldom::DomImplementation::createLSParser ( LSMode  mode,
LSSchemaType  schemaType 
) [virtual]

Create a new LSParser.

The newly constructed parser may then be configured by means of its DomConfiguration object, and used to parse documents by means of its parse method. Parameters

Parameters:
mode The mode argument is either ModeSynchronous or ModeAsynchronous, if mode is ModeSynchronous then the LSParser that is created will operate in synchronous mode, if it's ModeAsynchronous then the DomLSParser that is created will operate in asynchronous mode.
schemaType The type of the schema. See LSSchemaType for details.
Returns:
The newly created DomLSParser object. This DomLSParser is either synchronous or asynchronous depending on the value of the mode argument.
Note:
By default, the newly created DomLSParser does not contain a DomErrorHandler, i.e. the value of the "error-handler" configuration parameter is null. However, implementations may provide a default error handler at creation time. In that case, the initial value of the "error-handler" configuration parameter on the new DomLSParser object contains a reference to the default error handler.

Implements xmldom::DomImplementationLS.

DomLSSerializer xmldom::DomImplementation::createLSSerializer (  )  [virtual]

Create a new LSSerializer object.

Returns:
The newly created LSSerializer object.
Note:
By default, the newly created DomLSSerializer has no DomErrorHandler, i.e. the value of the "error-handler" configuration parameter is null. However, implementations may provide a default error handler at creation time. In that case, the initial value of the "error-handler" configuration parameter on the new DomLSSerializer object contains a reference to the default error handler.

Implements xmldom::DomImplementationLS.


The documentation for this class was generated from the following files:
Generated on Fri May 30 11:15:12 2008 for XMLDOM by  doxygen 1.5.2