|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: �CONSTR�|� FUNCTION �|�DATA | DETAIL: �CONSTR�|� FUNCTION �|�DATA |
class IEntityResolver: public CInterface { public: virtual ~IEntityResolver(); public: virtual XInputSource ResolveEntity( const CString &strPublicId, const CString &strSystemId) = 0; };
The abstract interface for resolving entities.
If an SXP application needs to implement customized handling
for external entities, it must implement this interface and
register an instance with the SXP parser using the
IParser::SetEntityResolver
method.
The XML parser will then allow the application to intercept
any external entities before including them.
Constructor/Destructor Summary | |
~IEntityResolver
();
����������Destroys the entity resolver. |
Function Summary | |
XInputSource
|
ResolveEntity
(const CString &strPublicId, const CString &strSystemId);
����������Allows an application to resolve external entities. |
Constructor/Destructor Detail |
virtual ~IEntityResolver();
Destroys the entity resolver.
Function Detail |
virtual XInputSource ResolveEntity( const CString &strPublicId, const CString &strSystemId) = 0;
Allows an application to resolve external entities.
strPublicId
- the public identifier of the external entity being
referenced, or the empty string if none was suppliedstrSystemId
- the system identifier of the external entity
being referencedNULL
to request that the parser open a regular
URI connection to the system identifier
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: �CONSTR�|� FUNCTION �|�DATA | DETAIL: �CONSTR�|� FUNCTION �|�DATA |