Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qgxml::EntityResolver Class Reference
[XML SAX Module]

#include <qgarlib/sax/EntityResolver.H>

Inheritance diagram for qgxml::EntityResolver:

qgxml::DefaultHandler qgar::QgarAppDescr List of all members.

Detailed Description

Basic interface for resolving entities.

If a SAX application needs to implement customized handling for external entities, it must implement this interface and register an instance with the SAX driver using the setEntityResolver method.

The XML reader will then allow the application to intercept any external entities (including the external DTD subset and external parameter entities, if any) before including them.

This class is an adaptation for C++ of the interface of the same name implemented in the Java SAX API (http://www.saxproject.org).

Author:
Jan Rendek (Adaptation).
Date:
March 10, 2003 15:52
Since:
Qgar 2.1.1

Definition at line 76 of file EntityResolver.H.

Public Member Functions

virtual InputSourceresolveEntity (const std::string &publicId, const std::string &systemId)=0
 Allow the application to resolve external entities.
Destructors
virtual ~EntityResolver ()
 Destructor.


Constructor & Destructor Documentation

virtual qgxml::EntityResolver::~EntityResolver  )  [inline, virtual]
 

Destructor.

Definition at line 90 of file EntityResolver.H.


Member Function Documentation

virtual InputSource* qgxml::EntityResolver::resolveEntity const std::string &  publicId,
const std::string &  systemId
[pure virtual]
 

Allow the application to resolve external entities.

Parameters:
publicId The public identifier of the external entity being referenced.
systemId The system identifier of the external entity being referenced.
Returns:
An InputSource object describing the new input source.

Implemented in qgxml::DefaultHandler.

Referenced by qgxml::XercesQgarEntityResolverAdaptor::resolveEntity(), and qgxml::QtQgarEntityResolverAdaptor::resolveEntity().


The documentation for this class was generated from the following file: