|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CTopLevelExtensionContext: public CInterface { public: CTopLevelExtensionContext(); virtual ~CTopLevelExtensionContext(); public: virtual void EnterContext(bool bTopLevel) = 0; virtual void ExitContext() = 0; virtual XExtensionPackageContext FindExtensionPackageContext( const CString &strNamespaceUri) = 0; };
The abstract representation of the top-level extension context, which encapsulates data shared by all extension contexts.
Implementation of the interface defined by this class is supplied by the toolkit; toolkit users do not need to implement this interface.
CExtensionPackageContext
Constructor/Destructor Summary | |
CTopLevelExtensionContext
();
����������Constructs the top-level extension context. |
|
~CTopLevelExtensionContext
();
����������Destroys the top-level extension context. |
Function Summary | |
void
|
EnterContext
(bool bTopLevel);
����������Called by the XSLT engine on entering the new context. |
void
|
ExitContext
();
����������Called by the XSLT engine on exit from the context. |
XExtensionPackageContext
|
FindExtensionPackageContext
(const CString &strNamespaceUri);
����������Looks up the extension package context associated with the given namespace URI. |
Constructor/Destructor Detail |
CTopLevelExtensionContext();
Constructs the top-level extension context.
virtual ~CTopLevelExtensionContext();
Destroys the top-level extension context.
Function Detail |
virtual void EnterContext(bool bTopLevel) = 0;
Called by the XSLT engine on entering the new context.
The context is entered when the processing (in particular, instantiation) of the new stylesheet element is started.
Application developers do not use this function.
bTopLevel
- indicates that the context entered is associated
with the top-level stylesheet element (for example, the template)virtual void ExitContext() = 0;
Called by the XSLT engine on exit from the context.
The exit from the context occurs when processing (for example, instantiation) of the stylesheet element is finished.
Application developers do not use this function.
virtual XExtensionPackageContext FindExtensionPackageContext( const CString &strNamespaceUri) = 0;
Looks up the extension package context associated with the given namespace URI.
strNamespaceUri
- the namespace URI to look upNULL
if the extension package is not found
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |