summaryrefslogtreecommitdiffstats
blob: 7179ac6ed553dbc04255fffafdb1f20665a2a219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef XMLPARSERCLIENT_H
#define XMLPARSERCLIENT_H

#include "Swiften/Parser/AttributeMap.h"

namespace Swift {
	class String;

	class XMLParserClient {
		public:
			virtual ~XMLParserClient();

			virtual void handleStartElement(const String& element, const String& ns, const AttributeMap& attributes) = 0;
			virtual void handleEndElement(const String& element, const String& ns) = 0;
			virtual void handleCharacterData(const String& data) = 0;
	};
}

#endif