Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CBasicXsltImplementation

class CBasicXsltImplementation: public CXsltImplementation {
public:
    CBasicXsltImplementation();
    ~CBasicXsltImplementation();
public:
    XXpathImplementation GetXpathImplementation();
    XNodeArrayFactory GetNodeArrayFactory();
    XSortedArrayFactory GetSortedArrayFactory();
    XDataSetFactory GetDataSetFactory();
    XExtensionHandler GetExtensionHandler();
    XInputHandler GetInputHandler();
    XDocument CreateDocument();
    XDocumentFragment CreateResultTreeFragment();
    XMessageHandler GetMessageHandler();
    XErrorHandler GetErrorHandler();
    XEncodingHandler GetEncodingHandler();
    XLocationHandlerFactory GetLocationHandlerFactory();
public:
    void SetMessageStream(IUnicodeStream *pStream);
    void SetErrorStream(IUnicodeStream *pStream);      
    };

The default implementation of the XSLT implementation object.

See CXsltImplementation for general discussion of XSLT implementation objects.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CSortedArrayFactory, CDataSetFactory, CExtensionHandler, CInputHandler, CMessageHandler, CErrorHandler, CEncodingHandler, CLocationHandlerFactory, Xpath::CNodeArrayFactory, Xpath::CXpathImplementation
Constructor/Destructor Summary
CBasicXsltImplementation ();
����������Constructs the basic XSLT implementation.
~CBasicXsltImplementation ();
����������Destroys the basic XSLT implementation.

Function Summary
XXpathImplementation GetXpathImplementation ();
����������Returns the XPath implementation provided by this XSLT implementation.
XNodeArrayFactory GetNodeArrayFactory ();
����������Returns the node array factory provided by this XSLT implementation.
XSortedArrayFactory GetSortedArrayFactory ();
����������Returns the sorted array factory provided by this XSLT implementation.
XDataSetFactory GetDataSetFactory ();
����������Returns the data set factory provided by this XSLT implementation.
XExtensionHandler GetExtensionHandler ();
����������Returns the extension handler provided by this XSLT implementation.
XInputHandler GetInputHandler ();
����������Returns the input handler provided by this XSLT implementation.
XDocument CreateDocument ();
����������Creates an empty document using the document factory provided by this XSLT implementation.
XDocumentFragment CreateResultTreeFragment ();
����������Creates an empty result tree fragment.
XMessageHandler GetMessageHandler ();
����������Returns the message handler provided by this XSLT implementation.
XErrorHandler GetErrorHandler ();
����������Returns the error handler provided by this XSLT implementation.
XEncodingHandler GetEncodingHandler ();
����������Returns the encoding handler provided by this XSLT implementation.
XLocationHandlerFactory GetLocationHandlerFactory ();
����������Returns the location handler factory provided by this XSLT implementation
void SetMessageStream (IUnicodeStream *pStream);
����������Sets the Unicode stream to output XSLT messages.
void SetErrorStream (IUnicodeStream *pStream);
����������Sets the Unicode stream to output error messages.

Constructor/Destructor Detail

CBasicXsltImplementation

CBasicXsltImplementation();

Constructs the basic XSLT implementation.

~CBasicXsltImplementation

~CBasicXsltImplementation();

Destroys the basic XSLT implementation.

Function Detail

GetXpathImplementation

XXpathImplementation GetXpathImplementation();

Returns the XPath implementation provided by this XSLT implementation.

Returns:
the XPath implementation provided by this XSLT implementation

GetNodeArrayFactory

XNodeArrayFactory GetNodeArrayFactory();

Returns the node array factory provided by this XSLT implementation.

Returns:
the node array factory provided by this XSLT implementation

GetSortedArrayFactory

XSortedArrayFactory GetSortedArrayFactory();

Returns the sorted array factory provided by this XSLT implementation.

Returns:
the sorted array factory provided by this XSLT implementation

GetDataSetFactory

XDataSetFactory GetDataSetFactory();

Returns the data set factory provided by this XSLT implementation.

Returns:
the data set factory provided by this XSLT implementation

GetExtensionHandler

XExtensionHandler GetExtensionHandler();

Returns the extension handler provided by this XSLT implementation.

Returns:
the extension handler provided by this XSLT implementation

GetInputHandler

XInputHandler GetInputHandler();

Returns the input handler provided by this XSLT implementation.

Returns:
the input handler provided by this XSLT implementation

CreateDocument

XDocument CreateDocument();

Creates an empty document using the document factory provided by this XSLT implementation.

Returns:
the newly created document

CreateResultTreeFragment

XDocumentFragment CreateResultTreeFragment();

Creates an empty result tree fragment.

Returns:
the newly created result tree fragment

GetMessageHandler

XMessageHandler GetMessageHandler();

Returns the message handler provided by this XSLT implementation.

Returns:
the message handler provided by this XSLT implementation

GetErrorHandler

XErrorHandler GetErrorHandler();

Returns the error handler provided by this XSLT implementation.

Returns:
the error handler provided by this XSLT implementation

GetEncodingHandler

XEncodingHandler GetEncodingHandler();

Returns the encoding handler provided by this XSLT implementation.

Returns:
the encoding handler provided by this XSLT implementation

GetLocationHandlerFactory

XLocationHandlerFactory GetLocationHandlerFactory();

Returns the location handler factory provided by this XSLT implementation

Returns:
the location handler factory provided by this XSLT implementation

SetMessageStream

void SetMessageStream(IUnicodeStream *pStream);

Sets the Unicode stream to output XSLT messages.

XSLT messages are generated by instantiation of xslt:message instructions.

Parameters:
pStream - the Unicode stream to output XSLT messages

SetErrorStream

void SetErrorStream(IUnicodeStream *pStream);

Sets the Unicode stream to output error messages.

Parameters:
pStream - the Unicode stream to output error messages

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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