Rudiments
xmldom.h
1 // Copyright (c) 2002 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 
9 class xmldomprivate;
10 
12 class RUDIMENTS_DLLSPEC xmldom : public xmlsax {
13  public:
14 
16  xmldom();
17 
34  xmldom(bool stringcacheenabled);
35 
37  virtual ~xmldom();
38 
40  bool parseFile(const char *filename);
41 
43  bool parseString(const char *string);
44 
46  xmldomnode *getRootNode() const;
47 
49  xmldomnode *getNullNode() const;
50 
53  void createRootNode();
54 
57  bool writeFile(const char *filename, mode_t perms) const;
58 
61  bool stringCacheEnabled();
62 
63  #include <rudiments/private/xmldom.h>
64 };
65 
66 #endif
virtual bool parseString(const char *string)
Definition: xmldomnode.h:123
Definition: xmlsax.h:14
virtual bool parseFile(const char *filename)
Definition: xmldom.h:12