Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef XMLSTREAMHANDLER_H_
00009 #define XMLSTREAMHANDLER_H_
00010
00011 #include <string>
00012 #include <map>
00013
00014 namespace ibrcommon
00015 {
00016 class XMLStreamHandler
00017 {
00018 public:
00019 virtual ~XMLStreamHandler() {};
00020 virtual void startDocument() = 0;
00021 virtual void endDocument() = 0;
00022 virtual void startElement(const std::string &name, const std::map<std::string, std::string> &attr) = 0;
00023 virtual void endElement(const std::string &name) = 0;
00024 virtual void characters(const char *ch, int len) = 0;
00025 };
00026 }
00027
00028 #endif