class XMLEntityHandler

This abstract class defines the entity handler API's which can be used to process entity references

Inheritance:


Public

Constructors and Destructor.
XMLEntityHandler ()
Default Constructor
virtual ~XMLEntityHandler ()
Destructor
The pure virtual methods in this interface.
virtual void endInputSource (const InputSource& inputSource)
This method get called after the scanner has finished reading from the given input source while processing external entity references
virtual const bool expandSystemId ( const XMLCh* const systemId, XMLBuffer& toFill )
This method allows the passes the scanned systemId to the entity handler, thereby giving it a chance to provide any customized handling like resolving relative path names
virtual void resetEntities ()
This method allows the entity handler to reset itself, so that it can be used again
virtual InputSource* resolveEntity ( const XMLCh* const publicId, const XMLCh* const systemId )
This method allows the entity handler to provide customized application specific entity resolution
virtual void startInputSource (const InputSource& inputSource)
This method will be called before the scanner starts reading from an input source while processing external entity references

Documentation

This abstract class defines the entity handler API's which can be used to process entity references.
Constructors and Destructor.

XMLEntityHandler()
Default Constructor

virtual ~XMLEntityHandler()
Destructor

The pure virtual methods in this interface.

virtual void endInputSource(const InputSource& inputSource)
This method get called after the scanner has finished reading from the given input source while processing external entity references.
Parameters:
inputSource - The external input source.

virtual const bool expandSystemId( const XMLCh* const systemId, XMLBuffer& toFill )
This method allows the passes the scanned systemId to the entity handler, thereby giving it a chance to provide any customized handling like resolving relative path names. The scanner first calls this method before calling resolveEntity.
Parameters:
systemId - The system id extracted by the scanner from the input source.
toFill - The buffer in which the fully expanded system id needs to be stored.

virtual void resetEntities()
This method allows the entity handler to reset itself, so that it can be used again

virtual InputSource* resolveEntity( const XMLCh* const publicId, const XMLCh* const systemId )
This method allows the entity handler to provide customized application specific entity resolution. This method is defined by SAX 1.0 API.
Parameters:
systemId - The system id of the external entity reference.
publicId - The public id of the external entity reference.

virtual void startInputSource(const InputSource& inputSource)
This method will be called before the scanner starts reading from an input source while processing external entity references.
Parameters:
inputSource - The external input source.

XMLEntityHandler(const XMLEntityHandler&)
The copy constructor, you cannot call this directly

void operator=(const XMLEntityHandler&)
The assignment operator, you cannot call this directly


This class has no child classes.
Version:
Revision: 94 1.13.1.1 src/com/ibm/xml/framework/XMLEntityHandler.hpp, xml4c2Framework, xml4c2_2_x

alphabetic index hierarchy of classes


XML Parser for C++ 2.0
Copyright © IBM Corp, 1999
Center for Java Technology
10275 N. De Anza Blvd.
Cupertino CA 95014 USA
Email: xml4c@us.ibm.com

IBM Logo