Xalan-C++ API Reference  1.12.0
Public Member Functions | List of all members
xalanc::XalanDOMImplementation Class Referenceabstract

#include <xalanc/XalanDOM/XalanDOMImplementation.hpp>

Inheritance diagram for xalanc::XalanDOMImplementation:
[legend]

Public Member Functions

 XalanDOMImplementation ()
 
virtual ~XalanDOMImplementation ()
 
Getter functions
virtual bool hasFeature (const XalanDOMString &feature, const XalanDOMString &version)=0
 Test if the DOM implementation implements a specific feature. More...
 

Functions introduced in DOM Level 2.

virtual XalanDocumentTypecreateDocumentType (const XalanDOMString &qualifiedName, const XalanDOMString &publicId, const XalanDOMString &systemId)=0
 Creates an empty DocumentType node. More...
 
virtual XalanDocumentcreateDocument (const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName, const XalanDocumentType &doctype)=0
 Creates an XML Document object of the specified type with its document element. More...
 
 XalanDOMImplementation (const XalanDOMImplementation &theSource)
 
XalanDOMImplementationoperator= (const XalanDOMImplementation &theSource)
 
bool operator== (const XalanDOMImplementation &theRHS) const
 

Detailed Description

Definition at line 45 of file XalanDOMImplementation.hpp.

Constructor & Destructor Documentation

◆ XalanDOMImplementation() [1/2]

xalanc::XalanDOMImplementation::XalanDOMImplementation ( )

◆ ~XalanDOMImplementation()

virtual xalanc::XalanDOMImplementation::~XalanDOMImplementation ( )
virtual

◆ XalanDOMImplementation() [2/2]

xalanc::XalanDOMImplementation::XalanDOMImplementation ( const XalanDOMImplementation theSource)
protected

Member Function Documentation

◆ createDocument()

virtual XalanDocument* xalanc::XalanDOMImplementation::createDocument ( const XalanDOMString namespaceURI,
const XalanDOMString qualifiedName,
const XalanDocumentType doctype 
)
pure virtual

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

Parameters
namespaceURIThe namespace URI of the document element to create, or null.
qualifiedNameThe qualified name of the document element to be created.
doctypeThe type of document to be created or null.

When doctype is not null, its Node.ownerDocument attribute is set to the document being created.

Returns
A new Document object.
Exceptions
DOMExceptionWRONG_DOCUMENT_ERR: Raised if doctype has already been used with a different document.

Implemented in xalanc::XercesDOMImplementationBridge, and xalanc::XercesDOMImplementationWrapper.

◆ createDocumentType()

virtual XalanDocumentType* xalanc::XalanDOMImplementation::createDocumentType ( const XalanDOMString qualifiedName,
const XalanDOMString publicId,
const XalanDOMString systemId 
)
pure virtual

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.

Parameters
qualifiedNameThe qualified name of the document type to be created.
publicIdThe external subset public identifier.
systemIdThe external subset system identifier.
Returns
A new DocumentType node with Node.ownerDocument set to null.

Implemented in xalanc::XercesDOMImplementationBridge, and xalanc::XercesDOMImplementationWrapper.

◆ hasFeature()

virtual bool xalanc::XalanDOMImplementation::hasFeature ( const XalanDOMString feature,
const XalanDOMString version 
)
pure virtual

Test if the DOM implementation implements a specific feature.

Parameters
featureThe string of the feature to test (case-insensitive). The legal values are defined throughout this specification. The string must be an XML name (see also Compliance).
versionThis 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.
Returns
true if the feature is implemented in the specified version, false otherwise.

Implemented in xalanc::XercesDOMImplementationBridge, and xalanc::XercesDOMImplementationWrapper.

◆ operator=()

XalanDOMImplementation& xalanc::XalanDOMImplementation::operator= ( const XalanDOMImplementation theSource)
protected

◆ operator==()

bool xalanc::XalanDOMImplementation::operator== ( const XalanDOMImplementation theRHS) const
protected

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