summaryrefslogtreecommitdiff
path: root/ACEXML/common/EntityResolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/common/EntityResolver.h')
-rw-r--r--ACEXML/common/EntityResolver.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/ACEXML/common/EntityResolver.h b/ACEXML/common/EntityResolver.h
new file mode 100644
index 00000000000..8716e8cbeb7
--- /dev/null
+++ b/ACEXML/common/EntityResolver.h
@@ -0,0 +1,22 @@
+// -*- C++ -*- $Id$
+
+#ifndef _ACEXML_ENTITYHANDLER_H_
+#define _ACEXML_ENTITYHANDLER_H_
+
+#include "Common/Env.h"
+#include "Common/InputSource.h"
+
+class ACEXML_Export ACEXML_EntityResolver
+{
+public:
+ /*
+ * Allow the application to resolve external entities.
+ */
+ virtual ACEXML_InputSource *resolveEntity (const ACEXML_Char *publicId,
+ const ACEXML_Char *systemId,
+ ACEXML_Env &xmlenv)
+ // ACE_THROW_SPEC ((ACEXML_SAXException))
+ = 0;
+};
+
+#endif /* _ACEXML_ENTITYHANDLER_H_ */