Isis Developer Reference
IsisXMLGroups.h
Go to the documentation of this file.
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 
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
IsisXMLGroups::prevDocHandler
ContentHandler * prevDocHandler
Definition: IsisXMLGroups.h:25
IsisXMLGroups.h
IsisXMLGroups::~IsisXMLGroups
~IsisXMLGroups()
Definition: IsisXMLGroups.cpp:44
IsisXMLChTrans.h
IsisXMLIgnore.h
IsisAmlData.h
IsisXMLGroups::characters
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLGroups.cpp:51
IsisXMLGroup.h
IsisXMLGroup
This is free and unencumbered software released into the public domain.
Definition: IsisXMLGroup.h:19
IsisXMLGroups::endElement
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLGroups.cpp:55
IsisXMLHandler
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHandler.h:18
std
Namespace for the standard library.
IsisXMLGroups::startElement
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLGroups.cpp:63
IsisXMLIgnore
This is free and unencumbered software released into the public domain.
Definition: IsisXMLIgnore.h:18
IsisXMLGroups::IsisXMLGroups
IsisXMLGroups(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, std::vector< IsisGroupData > *Pgroups)
Definition: IsisXMLGroups.cpp:24
IsisXMLGroups::prevErrorHandler
ErrorHandler * prevErrorHandler
Definition: IsisXMLGroups.h:26