00001 #ifndef _IT_ENTITY_RESOLVER_BASE_
00002 #define _IT_ENTITY_RESOLVER_BASE_
00003
00004
00005
00006
00007 #include <it_bus/types.h>
00008 #include <it_bus/binary_buffer.h>
00009
00010 #include <xercesc/sax/EntityResolver.hpp>
00011
00012 namespace IT_Bus
00013 {
00014 extern const IT_BUS_XML_API String CUSTOM_ENTITY_RESOLVER_REGISTRY_KEY;
00015
00016 class IT_BUS_XML_API EntityResolverBase :
00017 public XERCES_CPP_NAMESPACE::EntityResolver
00018 {
00019 public:
00020
00021 virtual void
00022 set_resource_path(
00023 const String & resource_path
00024 ) = 0;
00025
00026 virtual XERCES_CPP_NAMESPACE::InputSource *
00027 get_remote_buffer(
00028 const String & resource_url
00029 ) = 0;
00030 };
00031 }
00032 #endif