Isis 3 Developer Reference
IsisXMLMultipleValues.h
Go to the documentation of this file.
1 
24 #ifndef IsisXMLMultipleValues_h
25 #define IsisXMLMultipleValues_h
26 
27 //#include <sax2/DefaultHandler.hpp>
28 
29 #include "IsisAmlData.h"
30 #include "IsisXMLHandler.h"
31 #include "IsisXMLIgnore.h"
38 
39  public:
40 
41  ContentHandler *prevDocHandler;
42  ErrorHandler *prevErrorHandler;
43 
44 
45  IsisXMLMultipleValues(char *PencodingName,
46  bool &PexpandNamespaces,
47  XERCES::SAX2XMLReader* &Pparser,
48  std::vector<QString> *PmultipleValues);
49 
51 
52 // void endDocument();
53 
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<QString> *multipleValues;
73 
74  // Handlers this handler knows how to create
75  IsisXMLHandler *generalHandler;
76  IsisXMLIgnore *ignoreHandler;
77 
78 };
79 
80 
81 #endif
82 
83 
~IsisXMLMultipleValues()
Definition: IsisXMLMultipleValues.cpp:56
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLMultipleValues.cpp:67
Definition: IsisXMLMultipleValues.h:37
ContentHandler * prevDocHandler
Definition: IsisXMLMultipleValues.h:41
IsisXMLMultipleValues(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, std::vector< QString > *PmultipleValues)
Definition: IsisXMLMultipleValues.cpp:36
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLMultipleValues.cpp:63
Definition: IsisXMLHandler.h:35
ErrorHandler * prevErrorHandler
Definition: IsisXMLMultipleValues.h:42
Definition: IsisXMLIgnore.h:37
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLMultipleValues.cpp:75