00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _URIRESOLVER_HPP
00015 #define _URIRESOLVER_HPP
00016
00017 #include <xqilla/framework/XQillaExport.hpp>
00018
00019 #include <xercesc/util/XercesDefs.hpp>
00020 #include <xercesc/util/XMemory.hpp>
00021
00022 class DynamicContext;
00023 class Sequence;
00024
00025 XERCES_CPP_NAMESPACE_BEGIN
00026 class DOMDocument;
00027 class DOMNodeList;
00028 XERCES_CPP_NAMESPACE_END
00029
00033 class XQILLA_API URIResolver : public XERCES_CPP_NAMESPACE_QUALIFIER XMemory
00034 {
00035 public:
00036
00037 virtual ~URIResolver() {};
00038
00039
00040
00041
00042 virtual bool resolveDocument(Sequence &result, const XMLCh* uri, DynamicContext* context) = 0;
00043
00044
00045
00046
00047 virtual bool resolveCollection(Sequence &result, const XMLCh* uri, DynamicContext* context) = 0;
00048
00049
00050 virtual bool resolveDefaultCollection(Sequence &result, DynamicContext* context) = 0;
00051 };
00052 #endif // _URIRESOLVER_HPP