Xerces-C++: DOMImplementationRegistry Class Reference (original) (raw)

#include <[xercesc/dom/DOMImplementationRegistry.hpp](DOMImplementationRegistry%5F8hpp%5Fsource.html)>

Functions introduced in DOM Level 3
static DOMImplementation * getDOMImplementation (const XMLCh *features)
Return the first registered implementation that has the desired features, or null if none is found.
static DOMImplementationList * getDOMImplementationList (const XMLCh *features)
Return the list of registered implementation that have the desired features.
static void addSource (DOMImplementationSource *source)
Register an implementation.

addSource()

Register an implementation.

Parameters

source A DOMImplementation Source object to be added to the registry. The registry does NOT adopt the source object. Users still own it.

Since

DOM Level 3

getDOMImplementation()

Return the first registered implementation that has the desired features, or null if none is found.

Parameters

features A string that specifies which features are required. This is a space separated list in which each feature is specified by its name optionally followed by a space and a version number. This is something like: "XML 1.0 Traversal 2.0"

Returns

An implementation that has the desired features, or null if this source has none.

Since

DOM Level 3

getDOMImplementationList()

Return the list of registered implementation that have the desired features.

Parameters

features A string that specifies which features are required. This is a space separated list in which each feature is specified by its name optionally followed by a space and a version number. This is something like: "XML 1.0 Traversal 2.0"

Returns

A DOMImplementationList object that contains the DOMImplementation that have the desired features

Since

DOM Level 3


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