Unicorn XML Toolkit
Version 1.00.00

Namespace XsltObject
Class CObjectHandler

class CObjectHandler: public CInterface {
public:
    CObjectHandler();
    virtual ~CObjectHandler();
public:
    virtual void Import(
        const CString &strUri,
        const CString &strEncoding) = 0;
    virtual XObject Connect(const CString &strObject) = 0;
    };

The abstract interface to object worlds.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CObject
Constructor/Destructor Summary
CObjectHandler ();
����������Constructs the object handler.
~CObjectHandler ();
����������Destroys the object handler.

Function Summary
void Import (const CString &strUri, const CString &strEncoding);
����������Imports (loads and executes) the given script.
XObject Connect (const CString &strObject);
����������Looks up the named object in the object world accessed via this object handler.

Constructor/Destructor Detail

CObjectHandler

CObjectHandler();

Constructs the object handler.

~CObjectHandler

virtual ~CObjectHandler();

Destroys the object handler.

Function Detail

Import

virtual void Import(
    const CString &strUri,
    const CString &strEncoding) = 0;

Imports (loads and executes) the given script.

Parameters:
strUri - the absolute URI referencing the script
strEncoding - the character encoding of the script

Connect

virtual XObject Connect(const CString &strObject) = 0;

Looks up the named object in the object world accessed via this object handler.

Parameters:
strObject - the object name
Returns:
the object with the given name

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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