All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

XMLParser Interface CATISAXXMLFilter

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---XMLParser.CATISAXXMLReader
        |
        +---CATISAXXMLFilter
 

Usage: you can freely reimplement this interface.


interface CATISAXXMLFilter

Interface for an XML filter.

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 CATSAXDefaultXMLFilter helper class provides a convenient base for creating SAX2 filters, by passing on all CATISAXEntityResolver, CATISAXDTDHandler, CATISAXContentHandler and CATISAXErrorHandler events automatically.

See also:
CATISAXXMLReader, CATSAXDefaultXMLFilter


Method Index


o GetParent(CATISAXXMLReader_var&)
Retrieves the parent reader.
o SetParent(CATISAXXMLReader_var&)
Sets the parent reader.

Methods


o GetParent
public virtual HRESULT GetParent(CATISAXXMLReader_var& oParent) = 0
Retrieves the parent reader.

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.

Parameters:
oParent
The parent reader, or NULL_var if none has been set.
See also:
SetParent
o SetParent
public virtual HRESULT SetParent( const CATISAXXMLReader_var& iParent) = 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_var.

Parameters:
iParent
The parent reader.
See also:
SetParent

This object is included in the file: CATISAXXMLFilter.h
If needed, your Imakefile.mk should include the module: CATXMLParserItf

Copyright © 2003, Dassault Systèmes. All rights reserved.