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

This class is deprecated. More...

#include <xalanc/XercesParserLiaison/Deprecated/XercesDOMImplementationBridge.hpp>

Inheritance diagram for xalanc::XercesDOMImplementationBridge:
[legend]
Collaboration diagram for xalanc::XercesDOMImplementationBridge:
[legend]

Public Member Functions

 XercesDOMImplementationBridge (DOM_DOMImplementationType &theXercesDOMImplementation)
 
virtual ~XercesDOMImplementationBridge ()
 
Getter functions
virtual bool hasFeature (const XalanDOMString &feature, const XalanDOMString &version)
 Test if the DOM implementation implements a specific feature. More...
 
- Public Member Functions inherited from xalanc::XalanDOMImplementation
 XalanDOMImplementation ()
 
virtual ~XalanDOMImplementation ()
 

Functions introduced in DOM Level 2.

virtual XalanDocumentTypecreateDocumentType (const XalanDOMString &qualifiedName, const XalanDOMString &publicId, const XalanDOMString &systemId)
 Creates an empty DOM_DocumentType node. More...
 
virtual XalanDocumentcreateDocument (const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName, const XalanDocumentType &doctype)
 Creates an XML DOM_Document object of the specified type with its document element. More...
 
DOM_DOMImplementationTypegetXercesNode () const
 Get the Xerces node this instance represent. More...
 

Additional Inherited Members

- Protected Member Functions inherited from xalanc::XalanDOMImplementation
 XalanDOMImplementation (const XalanDOMImplementation &theSource)
 
XalanDOMImplementationoperator= (const XalanDOMImplementation &theSource)
 
bool operator== (const XalanDOMImplementation &theRHS) const
 

Detailed Description

This class is deprecated.

Deprecated:
This class is part of the deprecated Xerces DOM bridge.

Definition at line 46 of file XercesDOMImplementationBridge.hpp.

Constructor & Destructor Documentation

◆ XercesDOMImplementationBridge()

xalanc::XercesDOMImplementationBridge::XercesDOMImplementationBridge ( DOM_DOMImplementationType theXercesDOMImplementation)

◆ ~XercesDOMImplementationBridge()

virtual xalanc::XercesDOMImplementationBridge::~XercesDOMImplementationBridge ( )
virtual

Member Function Documentation

◆ createDocument()

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

Creates an XML DOM_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.

Implements xalanc::XalanDOMImplementation.

◆ createDocumentType()

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

Creates an empty DOM_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 DOM_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.

Implements xalanc::XalanDOMImplementation.

◆ getXercesNode()

DOM_DOMImplementationType& xalanc::XercesDOMImplementationBridge::getXercesNode ( ) const
inline

Get the Xerces node this instance represent.

Returns
The Xerces node

Definition at line 128 of file XercesDOMImplementationBridge.hpp.

◆ hasFeature()

virtual bool xalanc::XercesDOMImplementationBridge::hasFeature ( const XalanDOMString feature,
const XalanDOMString version 
)
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.

Implements xalanc::XalanDOMImplementation.


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