Rudiments

xmldom.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_XMLDOM_H
5 #define RUDIMENTS_XMLDOM_H
6
7 #include <rudiments/private/xmldomincludes.h>
8
10 class RUDIMENTS_DLLSPEC xmldom : public xmlsax, public dom {
11 public:
12
14 xmldom();
15
32 xmldom(bool stringcacheenabled);
33
35 virtual ~xmldom();
36
38 bool parseFile(const char *filename);
39
41 bool parseString(const char *string);
42
45 void createRootNode();
46
47 protected:
48
50 virtual bool tagStart(const char *ns, const char *name);
51
53 virtual bool attributeName(const char *name);
54
56 virtual bool attributeValue(const char *value);
57
59 virtual bool text(const char *string);
60
62 virtual bool tagEnd(const char *ns, const char *name);
63
65 virtual bool comment(const char *string);
66
68 virtual bool cdata(const char *string);
69
70 #include <rudiments/private/xmldom.h>
71 };
72
73 #endif
dom
Definition: dom.h:10
xmldom
Definition: xmldom.h:10
xmldom::tagEnd
virtual bool tagEnd(const char *ns, const char *name)
xmldom::tagStart
virtual bool tagStart(const char *ns, const char *name)
xmldom::attributeValue
virtual bool attributeValue(const char *value)
xmldom::attributeName
virtual bool attributeName(const char *name)
xmldom::parseString
bool parseString(const char *string)
xmldom::~xmldom
virtual ~xmldom()
xmldom::createRootNode
void createRootNode()
xmldom::text
virtual bool text(const char *string)
xmldom::cdata
virtual bool cdata(const char *string)
xmldom::xmldom
xmldom(bool stringcacheenabled)
xmldom::comment
virtual bool comment(const char *string)
xmldom::xmldom
xmldom()
xmldom::parseFile
bool parseFile(const char *filename)
xmlsax
Definition: xmlsax.h:12