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