Isis 3 Programmer Reference
IsisXMLGroups.h
1 
6 /* SPDX-License-Identifier: CC0-1.0 */
7 
8 #ifndef IsisXMLGroups_h
9 #define IsisXMLGroups_h
10 
11 //#include <sax2/DefaultHandler.hpp>
12 
13 #include "IsisAmlData.h"
14 #include "IsisXMLGroup.h"
15 #include "IsisXMLIgnore.h"
21 class IsisXMLGroups : public IsisXMLHandler {
22 
23  public:
24 
25  ContentHandler *prevDocHandler;
26  ErrorHandler *prevErrorHandler;
27 
28 
29  IsisXMLGroups(char *PencodingName,
30  bool &PexpandNamespaces,
31  XERCES::SAX2XMLReader* &Pparser,
32  std::vector<IsisGroupData> *Pgroups);
33 
34  ~IsisXMLGroups();
35 
36 // void endDocument();
37 
38  void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname);
39 
40  void characters(const XMLCh *const chars, const XMLSize_t length);
41 
42 
43  void startElement(const XMLCh *const uri,
44  const XMLCh *const localname,
45  const XMLCh *const qname,
46  const XERCES::Attributes &attributes);
47 
48 
49  private:
50 
51  // Saved arguments from constructor
52  char *encodingName;
53  bool expandNamespaces;
54  XERCES::SAX2XMLReader *parser;
55  std::vector<IsisGroupData> *groups;
56 
57  // Handlers this handler knows how to create
58  IsisXMLGroup *groupHandler;
59  IsisXMLIgnore *ignoreHandler;
60 
61 };
62 
63 
64 #endif
65 
66 
67 
68 
69 
IsisXMLGroups
This is free and unencumbered software released into the public domain.
Definition: IsisXMLGroups.h:21
IsisXMLGroup
This is free and unencumbered software released into the public domain.
Definition: IsisXMLGroup.h:19
IsisXMLHandler
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHandler.h:18
IsisXMLIgnore
This is free and unencumbered software released into the public domain.
Definition: IsisXMLIgnore.h:18