Isis Developer Reference
IsisXMLHistory.h
Go to the documentation of this file.
1 #ifndef IsisXMLHistory_h
2 #define IsisXMLHistory_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "IsisAmlData.h"
11 #include "IsisXMLHandler.h"
12 #include "IsisXMLIgnore.h"
19 
20  public:
21 
22  ContentHandler *prevDocHandler;
23  ErrorHandler *prevErrorHandler;
24 
25 
26  IsisXMLHistory(char *PencodingName,
27  bool &PexpandNamespaces,
28  XERCES::SAX2XMLReader* &Pparser,
29  std::vector<IsisChangeData> *PChanges);
30 
32 
33 // void endDocument();
34 
35  void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname);
36 
37  void characters(const XMLCh *const chars, const XMLSize_t length);
38 
39 
40  void startElement(const XMLCh *const uri,
41  const XMLCh *const localname,
42  const XMLCh *const qname,
43  const XERCES::Attributes &attributes);
44 
45 
46  private:
47 
48  // Saved arguments from constructor
49  char *encodingName;
50  bool expandNamespaces;
51  XERCES::SAX2XMLReader *parser;
52  std::vector<IsisChangeData> *changes;
53 
54  // Handlers this handler knows how to create
55  IsisXMLHandler *generalHandler;
56  IsisXMLIgnore *ignoreHandler;
57 
58 };
59 
60 
61 #endif
62 
63 
64 
65 
66 
IsisXMLHandler.h
IsisXMLHistory
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHistory.h:18
IsisXMLHistory::startElement
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLHistory.cpp:62
IsisXMLHistory::IsisXMLHistory
IsisXMLHistory(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, std::vector< IsisChangeData > *PChanges)
Definition: IsisXMLHistory.cpp:23
IsisXMLHistory::prevDocHandler
ContentHandler * prevDocHandler
Definition: IsisXMLHistory.h:22
IsisXMLChTrans.h
IsisXMLIgnore.h
IsisXMLHistory.h
IsisAmlData.h
IsisXMLHistory::~IsisXMLHistory
~IsisXMLHistory()
Definition: IsisXMLHistory.cpp:43
IsisXMLHandler
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHandler.h:18
IsisXMLHistory::endElement
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLHistory.cpp:54
std
Namespace for the standard library.
IsisXMLIgnore
This is free and unencumbered software released into the public domain.
Definition: IsisXMLIgnore.h:18
IsisXMLHistory::characters
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLHistory.cpp:50
IsisXMLHistory::prevErrorHandler
ErrorHandler * prevErrorHandler
Definition: IsisXMLHistory.h:23