|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CExtensionPackage: public CInterface { public: CExtensionPackage(); virtual ~CExtensionPackage(); public: virtual CString GetNamespaceUri() = 0; virtual XExtensionPackageContext CreateExtensionPackageContext() = 0; virtual bool IsExtensionElementAvailable( const CString &strLocalName) = 0; virtual XExtensionElement CreateExtensionElement( const XExtensionStaticContext &pExtensionStaticContext) = 0; virtual bool IsExtensionFunctionAvailable( const CString &strLocalName) = 0; virtual XExtensionFunction FindExtensionFunction( const CString &strLocalName) = 0; };
The abstract interface to XSLT extension packages.
An extension package is a collection of all extension elements and extension functions associated with the same namespace URI.
For each extension package supported by the particular XSLT implementation, the separate derived class must be provided.
CExtensionPackageContext, CExtensionElement, CExtensionFunction
Constructor/Destructor Summary | |
CExtensionPackage
();
����������Constructs the extension package. |
|
~CExtensionPackage
();
����������Destroys the extension package. |
Function Summary | |
CString
|
GetNamespaceUri
();
����������Returns the namespace URI associated with this extension package. |
XExtensionPackageContext
|
CreateExtensionPackageContext
();
����������Creates the extension package context for this extension package. |
bool
|
IsExtensionElementAvailable
(const CString &strLocalName);
����������Tests whether the extension element with the given local name is supported by this extension package. |
XExtensionElement
|
CreateExtensionElement
(const XExtensionStaticContext &pExtensionStaticContext);
����������Creates an extension element in the given extension static context. |
bool
|
IsExtensionFunctionAvailable
(const CString &strLocalName);
����������Tests whether the extension function with the given local name is supported by this extension package. |
XExtensionFunction
|
FindExtensionFunction
(const CString &strLocalName);
����������Looks up the extension function with the given local name in this extension package. |
Constructor/Destructor Detail |
CExtensionPackage();
Constructs the extension package.
virtual ~CExtensionPackage();
Destroys the extension package.
Function Detail |
virtual CString GetNamespaceUri() = 0;
Returns the namespace URI associated with this extension package.
virtual XExtensionPackageContext CreateExtensionPackageContext() = 0;
Creates the extension package context for this extension package.
virtual bool IsExtensionElementAvailable( const CString &strLocalName) = 0;
Tests whether the extension element with the given local name is supported by this extension package.
strLocalName
- the local name of the elementtrue
if the extension element with
the given name is supported by this extension package;
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 &strLocalName) = 0;
Tests whether the extension function with the given local name is supported by this extension package.
strLocalName
- the local name of the functiontrue
if the extension function with
the given local name is supported by this extension package;
false
otherwisevirtual XExtensionFunction FindExtensionFunction( const CString &strLocalName) = 0;
Looks up the extension function with the given local name in this extension package.
strLocalName
- the local name of the functionNULL
if the function with this local name is not
supported by this extension package
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |