Unicorn XML Toolkit
Version 1.00.00

Namespace Sxp
Class IParserFactory

class IParserFactory: public CInterface {
public:
    virtual ~IParserFactory();
public:
    virtual XParser MakeParser() = 0;
    virtual XParser MakeParser(const CString &strClassName) = 0;
    };

The abstract interface to SXP parser factories.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
IParser
Constructor/Destructor Summary
~IParserFactory ();
����������Destroys the parser factory.

Function Summary
XParser MakeParser ();
����������Creates the new SXP parser.
XParser MakeParser (const CString &strClassName);
����������Creates the new SXP parser using the class name provided.

Constructor/Destructor Detail

~IParserFactory

virtual ~IParserFactory();

Destroys the parser factory.

Function Detail

MakeParser

virtual XParser MakeParser() = 0;

Creates the new SXP parser.

Returns:
the newly created SXP parser

MakeParser

virtual XParser MakeParser(const CString &strClassName) = 0;

Creates the new SXP parser using the class name provided.

The class name is a string that uniquely specifies, in the implementation-dependent way, the parser family. It does not need to be the same as the name of the C++ class implementing that family.

This feature is reserved for the future use.

Parameters:
strClassName - the class name
Returns:
the newly created SXP parser

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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