Isis 3 Developer Reference
IsisXMLGroups.h
Go to the documentation of this file.
1 
24 #ifndef IsisXMLGroups_h
25 #define IsisXMLGroups_h
26 
27 //#include <sax2/DefaultHandler.hpp>
28 
29 #include "IsisAmlData.h"
30 #include "IsisXMLGroup.h"
31 #include "IsisXMLIgnore.h"
37 class IsisXMLGroups : public IsisXMLHandler {
38 
39  public:
40 
41  ContentHandler *prevDocHandler;
42  ErrorHandler *prevErrorHandler;
43 
44 
45  IsisXMLGroups(char *PencodingName,
46  bool &PexpandNamespaces,
47  XERCES::SAX2XMLReader* &Pparser,
48  std::vector<IsisGroupData> *Pgroups);
49 
51 
52 // void endDocument();
53 
54  void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname);
55 
56  void characters(const XMLCh *const chars, const XMLSize_t length);
57 
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 arguments from constructor
68  char *encodingName;
69  bool expandNamespaces;
70  XERCES::SAX2XMLReader *parser;
71  std::vector<IsisGroupData> *groups;
72 
73  // Handlers this handler knows how to create
74  IsisXMLGroup *groupHandler;
75  IsisXMLIgnore *ignoreHandler;
76 
77 };
78 
79 
80 #endif
81 
82 
83 
84 
85 
~IsisXMLGroups()
Definition: IsisXMLGroups.cpp:60
Definition: IsisXMLGroup.h:37
Definition: IsisXMLGroups.h:37
IsisXMLGroups(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, std::vector< IsisGroupData > *Pgroups)
Definition: IsisXMLGroups.cpp:40
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLGroups.cpp:67
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLGroups.cpp:79
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLGroups.cpp:71
ContentHandler * prevDocHandler
Definition: IsisXMLGroups.h:41
ErrorHandler * prevErrorHandler
Definition: IsisXMLGroups.h:42
Definition: IsisXMLHandler.h:35
Definition: IsisXMLIgnore.h:37