00001 #ifndef _IT_BUS_PREFIX_RESOLVER_H_
00002 #define _IT_BUS_PREFIX_RESOLVER_H_
00003
00004
00005
00006
00007 #include <it_bus/api_defines.h>
00008 #include <it_bus/types.h>
00009
00010 namespace IT_Bus
00011 {
00012 class IT_AFC_API PrefixResolver
00013 {
00014 public:
00015 virtual ~PrefixResolver();
00016
00017 virtual void
00018 add_namespace_declaration(
00019 const String& prefix,
00020 const String& uri
00021 ) = 0;
00022
00023 virtual bool
00024 resolve_uri(
00025 const String& prefix,
00026 String& uri
00027 ) const = 0;
00028
00029 virtual bool
00030 resolve_prefix(
00031 const String& uri,
00032 String& prefix
00033 ) const = 0;
00034
00035 };
00036 }
00037
00038 #endif