Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CStylesheetFactory

class CStylesheetFactory: public CInterface {
public:
    CStylesheetFactory(
        const XXsltImplementation &pXsltImplementation);
    ~CStylesheetFactory();
public:
    XStylesheetHandler CreateStylesheet(const CString &strUri);
    XStylesheetHandler CreateStylesheet(const XNode &pNode);
    XStylesheetHandler CreateStylesheet(
        const Sax::XXmlStream &pStream);
    };

The interface to XSLT stylesheet factories.

Implementation of the interface defined by this class is supplied by the toolkit; toolkit users do not need to implement this interface.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CXsltImplementation, CStylesheetHandler, Sax::CXmlReader, Dom::INode
Constructor/Destructor Summary
CStylesheetFactory (const XXsltImplementation &pXsltImplementation);
����������Constructs the stylesheet factory.
~CStylesheetFactory ();
����������Destroys the stylesheet factory.

Function Summary
XStylesheetHandler CreateStylesheet (const CString &strUri);
����������Creates the stylesheet from the URI.
XStylesheetHandler CreateStylesheet (const XNode &pNode);
����������Creates the stylesheet from the XDM node.
XStylesheetHandler CreateStylesheet (const Sax::XXmlStream &pStream);
����������Creates the stylesheet from the XML stream.

Constructor/Destructor Detail

CStylesheetFactory

CStylesheetFactory(
    const XXsltImplementation &pXsltImplementation);

Constructs the stylesheet factory.

Parameters:
pXsltImplementation - the XSLT implementation

~CStylesheetFactory

~CStylesheetFactory();

Destroys the stylesheet factory.

Function Detail

CreateStylesheet

XStylesheetHandler CreateStylesheet(const CString &strUri);

Creates the stylesheet from the URI.

Parameters:
strUri - the URI of the XML document containing the stylesheet source
Returns:
the newly created stylesheet

CreateStylesheet

XStylesheetHandler CreateStylesheet(const XNode &pNode);

Creates the stylesheet from the XDM node.

Parameters:
pNode - the XDM node containing the stylesheet source as the subtree
Returns:
the newly created stylesheet

CreateStylesheet

XStylesheetHandler CreateStylesheet(
    const Sax::XXmlStream &pStream);

Creates the stylesheet from the XML stream.

Parameters:
pStream - the XML stream providing the stylesheet source
Returns:
the newly created stylesheet

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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