Isis Developer Reference
IsisXMLGroup.h
Go to the documentation of this file.
1 #ifndef IsisXMLGroup_h
2 #define IsisXMLGroup_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 //#include <sax2/DefaultHandler.hpp>
10 
11 #include "IsisAmlData.h"
12 #include "IsisXMLParameter.h"
13 #include "IsisXMLIgnore.h"
19 class IsisXMLGroup : public IsisXMLHandler {
20 
21  public:
22 
23  ContentHandler *prevDocHandler;
24  ErrorHandler *prevErrorHandler;
25 
26 
27  IsisXMLGroup(char *PencodingName,
28  bool &PexpandNamespaces,
29  XERCES::SAX2XMLReader* &Pparser,
30  IsisGroupData *Group);
31 
32  ~IsisXMLGroup();
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  IsisGroupData *group;
54 
55  // Handlers this handler knows how to create
56  IsisXMLParameter *parameterHandler;
57  IsisXMLIgnore *ignoreHandler;
58 };
59 
60 
61 #endif
62 
63 
64 
IsisXMLGroup::endElement
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLGroup.cpp:58
IsisXMLParameter.h
IsisXMLGroup::~IsisXMLGroup
~IsisXMLGroup()
Definition: IsisXMLGroup.cpp:45
IsisXMLGroup::prevErrorHandler
ErrorHandler * prevErrorHandler
Definition: IsisXMLGroup.h:24
IsisXMLGroup::IsisXMLGroup
IsisXMLGroup(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, IsisGroupData *Group)
Definition: IsisXMLGroup.cpp:24
IString.h
IsisXMLChTrans.h
IsisXMLIgnore.h
IsisAmlData.h
IsisXMLGroup.h
IsisXMLGroup
This is free and unencumbered software released into the public domain.
Definition: IsisXMLGroup.h:19
IsisXMLParameter
This is free and unencumbered software released into the public domain.
Definition: IsisXMLParameter.h:22
IsisXMLHandler
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHandler.h:18
std
Namespace for the standard library.
IsisXMLGroup::startElement
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLGroup.cpp:65
IsisGroupData
Definition: IsisAmlData.h:94
IsisXMLIgnore
This is free and unencumbered software released into the public domain.
Definition: IsisXMLIgnore.h:18
IsisXMLGroup::characters
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLGroup.cpp:53
IsisXMLGroup::prevDocHandler
ContentHandler * prevDocHandler
Definition: IsisXMLGroup.h:23