|
Unicorn XML Toolkit Version 1.50.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CXmlFilter: virtual public CXmlReader { public: CXmlFilter(); virtual ~CXmlFilter(); public: virtual void SetParent(CXmlReader *pParent) = 0; virtual CXmlReader *GetParent() = 0; };
The abstract interface to XML filters.
An XML filter is like an XML reader, except that it obtains its events from another XML reader rather than a primary source like an XML document or database. Filters can modify a stream of events as they pass on to the final application.
The
CXmlFilterImpl
helper class provides a convenient base
for creating SAX2 filters, by passing on all
CEntityResolver
,
CDtdHandler
,
CContentHandler
and
CErrorHandler
events automatically.
CXmlReader
Constructor/Destructor Summary | |
CXmlFilter
();
����������Constructs the XML filter. |
|
~CXmlFilter
();
����������Destroys the XML filter. |
Function Summary | |
void
|
SetParent
(CXmlReader *pParent);
����������Sets the parent reader. |
CXmlReader�*
|
GetParent
();
����������This method allows the application to query the parent reader (which may be another filter). It is generally a bad idea to perform any operations on the parent reader directly: they should all pass through this filter. |
Constructor/Destructor Detail |
CXmlFilter();
Constructs the XML filter.
virtual ~CXmlFilter();
Destroys the XML filter.
Function Detail |
virtual void SetParent(CXmlReader *pParent) = 0;
Sets the parent reader.
This method allows the application to link the filter to
a parent reader (which may be another filter). The argument
may not be
NULL
.
pParent
- the parent readervirtual CXmlReader *GetParent() = 0;
This method allows the application to query the parent reader (which may be another filter). It is generally a bad idea to perform any operations on the parent reader directly: they should all pass through this filter.
NULL
if none has been set
|
Unicorn XML Toolkit Version 1.50.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |