Isis 3 Programmer Reference
IsisXMLHelper.h
1 #ifndef IsisXMLHelper_h
2 #define IsisXMLHelper_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "IsisAmlData.h"
11 #include "IsisXMLIgnore.h"
12 #include "IsisXMLHandler.h"
13 
19 class IsisXMLHelper : public IsisXMLHandler {
20 
21  public:
22 
23  ContentHandler *prevDocHandler;
24  ErrorHandler *prevErrorHandler;
25 
26 
27  IsisXMLHelper(char *PencodingName,
28  bool &PexpandNamespaces,
29  XERCES::SAX2XMLReader* &Pparser,
30  IsisHelperData *Helper);
31 
32  ~IsisXMLHelper();
33 
34  void endElement(const XMLCh *const uri,
35  const XMLCh *const localname,
36  const XMLCh *const qname);
37 
38  void characters(const XMLCh *const chars,
39  const XMLSize_t length);
40 
41  void startElement(const XMLCh *const uri,
42  const XMLCh *const localname,
43  const XMLCh *const qname,
44  const XERCES::Attributes &attributes);
45 
46 
47  private:
48 
49  // Saved argument from the constructor
50  char *encodingName;
51  bool expandNamespaces;
52  XERCES::SAX2XMLReader *parser;
53  IsisHelperData *helper;
54 
55  // Handler this handler knows how to create
56  IsisXMLHandler *generalHandler;
57  IsisXMLIgnore *ignoreHandler;
58 };
59 
60 
61 #endif
62 
IsisHelperData
Definition: IsisAmlData.h:36
IsisXMLHandler
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHandler.h:18
IsisXMLHelper
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHelper.h:19
IsisXMLIgnore
This is free and unencumbered software released into the public domain.
Definition: IsisXMLIgnore.h:18