|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CExtensionHandler: public CInterface { public: CExtensionHandler(); virtual ~CExtensionHandler(); public: virtual XTopLevelExtensionContext CreateTopLevelExtensionContext() = 0; virtual bool IsExtensionElementAvailable( const CString &strNamespaceUri, const CString &strLocalName) = 0; virtual XExtensionElement CreateExtensionElement( const XExtensionStaticContext &pExtensionStaticContext) = 0; virtual bool IsExtensionFunctionAvailable( const CString &strNamespaceUri, const CString &strLocalName) = 0; virtual XExtensionFunction FindExtensionFunction( const CString &strNamespaceUri, const CString &strLocalName) = 0; virtual void AddExtensionPackage( const XExtensionPackage &pExtensionPackage) = 0; virtual XExtensionPackage FindExtensionPackage( const CString &strNamespaceUri) = 0; };
The abstract interface for handling all extension elements and extension functions supported by the particular XSLT implementation.
Implementation of the interface defined by this class is supplied by the toolkit; toolkit users do not need to implement this interface.
CTopLevelExtensionContext, CExtensionElement, CExtensionFunction, CExtensionPackage
Constructor/Destructor Summary | |
CExtensionHandler
();
����������Constructs the extension handler. |
|
~CExtensionHandler
();
����������Destroys the extension handler. |
Function Summary | |
XTopLevelExtensionContext
|
CreateTopLevelExtensionContext
();
����������Creates the top-level extension context. |
bool
|
IsExtensionElementAvailable
(const CString &strNamespaceUri, const CString &strLocalName);
����������Tests whether the extension element with the given name is supported by this extension handler. |
XExtensionElement
|
CreateExtensionElement
(const XExtensionStaticContext &pExtensionStaticContext);
����������Creates an extension element in the given extension static context. |
bool
|
IsExtensionFunctionAvailable
(const CString &strNamespaceUri, const CString &strLocalName);
����������Tests whether the extension function with the given name is supported by this extension handler. |
XExtensionFunction
|
FindExtensionFunction
(const CString &strNamespaceUri, const CString &strLocalName);
����������Looks ip extension function with the given name in the list of functions supported by this extension handler. |
void
|
AddExtensionPackage
(const XExtensionPackage &pExtensionPackage);
����������Adds the extension package to the list of packages supported by this extension handler. |
XExtensionPackage
|
FindExtensionPackage
(const CString &strNamespaceUri);
����������Looks up the extension package with the given namepace URI in the list of packages supported by this extension handler. |
Constructor/Destructor Detail |
CExtensionHandler();
Constructs the extension handler.
virtual ~CExtensionHandler();
Destroys the extension handler.
Function Detail |
virtual XTopLevelExtensionContext CreateTopLevelExtensionContext() = 0;
Creates the top-level extension context.
virtual bool IsExtensionElementAvailable( const CString &strNamespaceUri, const CString &strLocalName) = 0;
Tests whether the extension element with the given name is supported by this extension handler.
strNamespaceUri
- the namespace URI of the elementstrLocalName
- the local name of the elementtrue
if the extension element with
the given name is supported by this extension handler;
false
otherwisevirtual XExtensionElement CreateExtensionElement( const XExtensionStaticContext &pExtensionStaticContext) = 0;
Creates an extension element in the given extension static context.
pExtensionStaticContext
- the extension static contextvirtual bool IsExtensionFunctionAvailable( const CString &strNamespaceUri, const CString &strLocalName) = 0;
Tests whether the extension function with the given name is supported by this extension handler.
strNamespaceUri
- the namespace URI of the functionstrLocalName
- the local name of the functiontrue
if the extension function with
the given name is supported by this extension handler;
false
otherwisevirtual XExtensionFunction FindExtensionFunction( const CString &strNamespaceUri, const CString &strLocalName) = 0;
Looks ip extension function with the given name in the list of functions supported by this extension handler.
strNamespaceUri
- the namespace URI of the functionstrLocalName
- the local name of the functionNULL
if the function with this name is not
supported by this extension handlervirtual void AddExtensionPackage( const XExtensionPackage &pExtensionPackage) = 0;
Adds the extension package to the list of packages supported by this extension handler.
pExtensionPackage
- the extension package to addvirtual XExtensionPackage FindExtensionPackage( const CString &strNamespaceUri) = 0;
Looks up the extension package with the given namepace URI in the list of packages supported by this extension handler.
strNamespaceUri
- the namespace URI of the packageNULL
if there is no such package in the
list of packages supported by this extension handler
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |