Isis 3 Developer Reference
IsisXMLHistory.h
Go to the documentation of this file.
1 
24 #ifndef IsisXMLHistory_h
25 #define IsisXMLHistory_h
26 
27 //#include <sax2/DefaultHandler.hpp>
28 
29 #include "IsisAmlData.h"
30 #include "IsisXMLHandler.h"
31 #include "IsisXMLIgnore.h"
38 
39  public:
40 
41  ContentHandler *prevDocHandler;
42  ErrorHandler *prevErrorHandler;
43 
44 
45  IsisXMLHistory(char *PencodingName,
46  bool &PexpandNamespaces,
47  XERCES::SAX2XMLReader* &Pparser,
48  std::vector<IsisChangeData> *PChanges);
49 
51 
52 // void endDocument();
53 
54  void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname);
55 
56  void characters(const XMLCh *const chars, const XMLSize_t length);
57 
58 
59  void startElement(const XMLCh *const uri,
60  const XMLCh *const localname,
61  const XMLCh *const qname,
62  const XERCES::Attributes &attributes);
63 
64 
65  private:
66 
67  // Saved arguments from constructor
68  char *encodingName;
69  bool expandNamespaces;
70  XERCES::SAX2XMLReader *parser;
71  std::vector<IsisChangeData> *changes;
72 
73  // Handlers this handler knows how to create
74  IsisXMLHandler *generalHandler;
75  IsisXMLIgnore *ignoreHandler;
76 
77 };
78 
79 
80 #endif
81 
82 
83 
84 
85 
ContentHandler * prevDocHandler
Definition: IsisXMLHistory.h:41
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLHistory.cpp:72
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLHistory.cpp:80
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLHistory.cpp:68
IsisXMLHistory(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, std::vector< IsisChangeData > *PChanges)
Definition: IsisXMLHistory.cpp:41
Definition: IsisXMLHandler.h:35
ErrorHandler * prevErrorHandler
Definition: IsisXMLHistory.h:42
~IsisXMLHistory()
Definition: IsisXMLHistory.cpp:61
Definition: IsisXMLHistory.h:37
Definition: IsisXMLIgnore.h:37