Unicorn XML Toolkit
Version 1.00.00

Namespace XsltReports
Class CReportsExtensionPackage

class CReportsExtensionPackage: public CExtensionPackage {
public:
    CReportsExtensionPackage();
    ~CReportsExtensionPackage();
public:
    CString GetNamespaceUri();
    XExtensionPackageContext CreateExtensionPackageContext();
    bool IsExtensionElementAvailable(const CString &strLocalName);
    XExtensionElement CreateExtensionElement(
        const XExtensionStaticContext &pExtensionStaticContext);
    bool IsExtensionFunctionAvailable(const CString &strLocalName);
    XExtensionFunction FindExtensionFunction(
        const CString &strLocalName);
public:
    static const WCHAR m_szNamespaceUri[];
    };

The XSLT extension package implementing Report Generation Extensions.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
Xslt::CExtensionStaticContext, Xslt::CExtensionElement, Xslt::CExtensionFunction, Xslt::CExtensionPackageContext
Constructor/Destructor Summary
CReportsExtensionPackage ();
����������Constructs the extension package.
~CReportsExtensionPackage ();
����������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 the extension package.

Data Summary
const�WCHAR m_szNamespaceUri [];
����������The namespace URI assigned to this extension package.

Constructor/Destructor Detail

CReportsExtensionPackage

CReportsExtensionPackage();

Constructs the extension package.

~CReportsExtensionPackage

~CReportsExtensionPackage();

Destroys the extension package.

Function Detail

GetNamespaceUri

CString GetNamespaceUri();

Returns the namespace URI associated with this extension package.

Returns:
the namespace URI associated with this extension package

CreateExtensionPackageContext

XExtensionPackageContext CreateExtensionPackageContext();

Creates the extension package context for this extension package.

Returns:
the newly created extension package context

IsExtensionElementAvailable

bool IsExtensionElementAvailable(const CString &strLocalName);

Tests whether the extension element with the given local name is supported by this extension package.

Parameters:
strLocalName - the local name of the element
Returns:
true if the extension element with the given name is supported by this extension package; false otherwise

CreateExtensionElement

XExtensionElement CreateExtensionElement(
    const XExtensionStaticContext &pExtensionStaticContext);

Creates an extension element in the given extension static context.

Parameters:
pExtensionStaticContext - the extension static context
Returns:
the newly created extension element

IsExtensionFunctionAvailable

bool IsExtensionFunctionAvailable(const CString &strLocalName);

Tests whether the extension function with the given local name is supported by this extension package.

Parameters:
strLocalName - the local name of the function
Returns:
true if the extension function with the given local name is supported by this extension package; false otherwise

FindExtensionFunction

XExtensionFunction FindExtensionFunction(
    const CString &strLocalName);

Looks up the extension function with the given local name in the extension package.

Parameters:
strLocalName - the local name of the function
Returns:
the extension function with the given local name; NULL if the function is not supported by this extension package
Data Detail

m_szNamespaceUri

static const WCHAR m_szNamespaceUri[];

The namespace URI assigned to this extension package.

This data member is set to "https://www.unicorn-enterprises.com/XSLT/Extensions/Reports/1.0" .


Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.