#include <DomImplementation.h>
Inherits xmldom::DomImplementationLS.
Inheritance diagram for xmldom::DomImplementation:
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 ctor | |
virtual | ~DomImplementation () |
dtor | |
const DomImplementation & | operator= (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". |
xmldom::DomImplementation::DomImplementation | ( | ) |
ctor
xmldom::DomImplementation::DomImplementation | ( | const DomImplementation & | copy | ) |
copy ctor
xmldom::DomImplementation::~DomImplementation | ( | ) | [virtual] |
dtor
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.
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.
qualifiedName | The qualified name of the document type to be created. | |
publicId | The external subset public identifier. | |
systemId | The external subset system identifier. |
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.
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. |
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
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. |
Implements xmldom::DomImplementationLS.
DomLSSerializer xmldom::DomImplementation::createLSSerializer | ( | ) | [virtual] |
Create a new LSSerializer object.
Implements xmldom::DomImplementationLS.