Rudiments: /home/dmuse/src/rudiments/include/rudiments/xmlsax.h Source File

Rudiments

- Main Page
- Classes

xmlsax.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_XMLSAX_H
5 #define RUDIMENTS_XMLSAX_H
6
7 #include <rudiments/private/xmlsaxincludes.h>
8
9 class xmlsaxprivate;
10
14 class RUDIMENTS_DLLSPEC xmlsax {
15 public:
16
18 xmlsax();
19
21 virtual ~xmlsax();
22
23
28 virtual bool parseFile(const char *filename);
29
34 virtual bool parseString(const char *string);
35
38 const char *getError();
39
40 protected:
41
43 virtual bool tagStart(const char *ns, const char *name);
44
46 virtual bool attributeName(const char *name);
47
49 virtual bool attributeValue(const char *value);
50
52 virtual bool text(const char *string);
53
55 virtual bool tagEnd(const char *ns, const char *name);
56
58 virtual bool comment(const char *string);
59
61 virtual bool cdata(const char *string);
62
63 #include <rudiments/private/xmlsax.h>
64 };
65
66 #endif
xmlsax
Definition: xmlsax.h:14