Isis 3 Developer Reference
IsisXMLGroup.h
Go to the documentation of this file.
1 
24 #ifndef IsisXMLGroup_h
25 #define IsisXMLGroup_h
26 
27 //#include <sax2/DefaultHandler.hpp>
28 
29 #include "IsisAmlData.h"
30 #include "IsisXMLParameter.h"
31 #include "IsisXMLIgnore.h"
37 class IsisXMLGroup : public IsisXMLHandler {
38 
39  public:
40 
41  ContentHandler *prevDocHandler;
42  ErrorHandler *prevErrorHandler;
43 
44 
45  IsisXMLGroup(char *PencodingName,
46  bool &PexpandNamespaces,
47  XERCES::SAX2XMLReader* &Pparser,
48  IsisGroupData *Group);
49 
50  ~IsisXMLGroup();
51 
52  void endElement(const XMLCh *const uri,
53  const XMLCh *const localname,
54  const XMLCh *const qname);
55 
56  void characters(const XMLCh *const chars,
57  const XMLSize_t length);
58 
59  void startElement(const XMLCh *const uri,
60  const XMLCh *const localname,
61  const XMLCh *const qname,
62  const XERCES::Attributes &attributes);
63 
64 
65  private:
66 
67  // Saved argument from the constructor
68  char *encodingName;
69  bool expandNamespaces;
70  XERCES::SAX2XMLReader *parser;
71  IsisGroupData *group;
72 
73  // Handlers this handler knows how to create
74  IsisXMLParameter *parameterHandler;
75  IsisXMLIgnore *ignoreHandler;
76 };
77 
78 
79 #endif
80 
81 
82 
Definition: IsisXMLGroup.h:37
~IsisXMLGroup()
Definition: IsisXMLGroup.cpp:61
Definition: IsisAmlData.h:112
IsisXMLGroup(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, IsisGroupData *Group)
Definition: IsisXMLGroup.cpp:40
ErrorHandler * prevErrorHandler
Definition: IsisXMLGroup.h:42
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLGroup.cpp:81
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLGroup.cpp:69
Definition: IsisXMLParameter.h:41
Definition: IsisXMLHandler.h:35
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLGroup.cpp:74
Definition: IsisXMLIgnore.h:37
ContentHandler * prevDocHandler
Definition: IsisXMLGroup.h:41