4#ifndef xmlBase_EResolver_h
5#define xmlBase_EResolver_h
7#include <xercesc/util/XercesDefs.hpp>
8#include <xercesc/util/XMLEntityResolver.hpp>
9#include <xercesc/sax/InputSource.hpp>
13XERCES_CPP_NAMESPACE_BEGIN
15class XMLResourceIdenifier;
16XERCES_CPP_NAMESPACE_END
20 class EResolver :
public XERCES_CPP_NAMESPACE_QUALIFIER XMLEntityResolver {
25 virtual XERCES_CPP_NAMESPACE_QUALIFIER InputSource*
26 resolveEntity(XERCES_CPP_NAMESPACE_QUALIFIER XMLResourceIdentifier* xmlRI);
32 std::vector<std::string*> m_entities;
34 XERCES_CPP_NAMESPACE_QUALIFIER InputSource*
35 translateEnv(
const XMLCh *
id,
const XMLCh * baseURI);
virtual XERCES_CPP_NAMESPACE_QUALIFIER InputSource * resolveEntity(XERCES_CPP_NAMESPACE_QUALIFIER XMLResourceIdentifier *xmlRI)