CL_DomImplementation Class Reference
[clanCore XML]

DOM Implementation class. More...

#include <dom_implementation.h>

List of all members.

Public Member Functions

Construction

 CL_DomImplementation ()
 Constructs a DOM Implementation handle.
 CL_DomImplementation (CL_DomDocument &doc)
 Constructs a DomImplementation.
 ~CL_DomImplementation ()
Operations

bool has_feature (const CL_DomString &feature, const CL_DomString &version)
 Test if the DOM implementation implements a specific feature.
CL_DomDocumentType create_document_type (const CL_DomString &qualified_name, const CL_DomString &public_id, const CL_DomString &system_id)
 Creates an empty DocumentType node.
CL_DomDocument create_document (const CL_DomString &namespace_uri, const CL_DomString &qualified_name, const CL_DomDocumentType &doctype)
 Creates an XML Document object of the specified type with its document element.

Detailed Description

DOM Implementation class.

The DOM Implementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.


Constructor & Destructor Documentation

CL_DomImplementation::CL_DomImplementation (  ) 

Constructs a DOM Implementation handle.

CL_DomImplementation::CL_DomImplementation ( CL_DomDocument doc  ) 

Constructs a DomImplementation.

Parameters:
doc = Dom Document
CL_DomImplementation::~CL_DomImplementation (  ) 

Member Function Documentation

CL_DomDocument CL_DomImplementation::create_document ( const CL_DomString namespace_uri,
const CL_DomString qualified_name,
const CL_DomDocumentType doctype 
)

Creates an XML Document object of the specified type with its document element.

CL_DomDocumentType CL_DomImplementation::create_document_type ( const CL_DomString qualified_name,
const CL_DomString public_id,
const CL_DomString system_id 
)

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.

bool CL_DomImplementation::has_feature ( const CL_DomString feature,
const CL_DomString version 
)

Test if the DOM implementation implements a specific feature.

Parameters:
feature The package name of the feature to test. In Level 1, the legal values are "HTML" and "XML" (case-insensitive).
version This is the version number of the package name to test. In Level 1, this is the string "1.0". If the version is not specified, supporting any version of the feature will cause the method to return true. retval: true if the feature is implemented in the specified version, false otherwise.

The documentation for this class was generated from the following file: