|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
�PREV CLASS��NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CReaderFactory: public Sax::CXmlReaderFactory { public: CReaderFactory(const Sxp::XParserFactory &pFactory); ~CReaderFactory(); public: Sax::XXmlReader CreateXmlReader(); Sax::XXmlReader CreateXmlReader(const CString &strClassName); };
The factory for SXP parser adapters.
The SXP parser adapter is an object that wraps an SXP parser and acts as a SAX2 XML reader.
Sxp::IParserFactory, Sax::CXmlReader
Constructor/Destructor Summary | |
CReaderFactory
(const Sxp::XParserFactory &pFactory);
����������Constructs the SXP adapter factory. |
|
~CReaderFactory
();
����������Destroys the SXP adapter factory. |
Function Summary | |
Sax::XXmlReader
|
CreateXmlReader
();
����������Creates a new SXP adapter of the default class. |
Sax::XXmlReader
|
CreateXmlReader
(const CString &strClassName);
����������Creates a new SXP adapter using the class name provided. |
Constructor/Destructor Detail |
CReaderFactory(const Sxp::XParserFactory &pFactory);
Constructs the SXP adapter factory.
The SXP parser factory must be supplied as an argument to the constructor. Each time the new SXP adapter is created, the SXP parser factory is used to create an underlying SXP parser.
pFactory
- the SXP parser factory~CReaderFactory();
Destroys the SXP adapter factory.
Function Detail |
Sax::XXmlReader CreateXmlReader();
Creates a new SXP adapter of the default class.
Sax::XXmlReader CreateXmlReader(const CString &strClassName);
Creates a new SXP adapter using the class name provided.
This feature is reserved for the future use. In the current release, calling this function will cause an assertion error.
strClassName
- the class name
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
�PREV CLASS��NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |