Unicorn XML Toolkit
Version 1.50.00

Namespace Sax
Class CXmlReaderFactory

class CXmlReaderFactory: public CInterface {
public:
    CXmlReaderFactory();
    virtual ~CXmlReaderFactory();
public:
    virtual XXmlReader CreateXmlReader() = 0;
    virtual XXmlReader CreateXmlReader(
        const WCHAR *pszClassName) = 0;
    };
typedef XInterface<CXmlFilter> XXmlFilter;

The abstract interface to factories for creating XML readers.

Since:
1.00.00
Version:
1.50.00
Author:
C++ interfaces by Alexey Gokhberg; based on the original SAX2 specification by David Megginson
See Also:
CXmlReader
Constructor/Destructor Summary
CXmlReaderFactory ();
����������Constructs the reader factory.
~CXmlReaderFactory ();
����������Destroys the reader factory.

Function Summary
XXmlReader CreateXmlReader ();
����������Creates an XML reader of the default class.
XXmlReader CreateXmlReader (const WCHAR *pszClassName);
����������Creates the new XML reader using the class name provided.

Constructor/Destructor Detail

CXmlReaderFactory

CXmlReaderFactory();

Constructs the reader factory.

~CXmlReaderFactory

virtual ~CXmlReaderFactory();

Destroys the reader factory.

Function Detail

CreateXmlReader

virtual XXmlReader CreateXmlReader() = 0;

Creates an XML reader of the default class.

Returns:
the newly created XML reader

CreateXmlReader

virtual XXmlReader CreateXmlReader(
    const WCHAR *pszClassName) = 0;

Creates the new XML reader using the class name provided.

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

This is feature is reserved for the future use.

Parameters:
pszClassName - the class name
Returns:
the newly created XML reader

Unicorn XML Toolkit
Version 1.50.00


This document was created using Unicorn DOC++.

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