Isis Developer Reference
IsisXMLMultipleValues.h
Go to the documentation of this file.
1 #ifndef IsisXMLMultipleValues_h
2 #define IsisXMLMultipleValues_h
3 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 #include "IsisAmlData.h"
11 #include "IsisXMLHandler.h"
12 #include "IsisXMLIgnore.h"
19 
20  public:
21 
22  ContentHandler *prevDocHandler;
23  ErrorHandler *prevErrorHandler;
24 
25 
26  IsisXMLMultipleValues(char *PencodingName,
27  bool &PexpandNamespaces,
28  XERCES::SAX2XMLReader* &Pparser,
29  std::vector<QString> *PmultipleValues);
30 
32 
33 // void endDocument();
34 
35 
36  void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname);
37 
38  void characters(const XMLCh *const chars, const XMLSize_t length);
39 
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 arguments from constructor
50  char *encodingName;
51  bool expandNamespaces;
52  XERCES::SAX2XMLReader *parser;
53  std::vector<QString> *multipleValues;
54 
55  // Handlers this handler knows how to create
56  IsisXMLHandler *generalHandler;
57  IsisXMLIgnore *ignoreHandler;
58 
59 };
60 
61 
62 #endif
63 
64 
IsisXMLHandler.h
IsisXMLMultipleValues::prevDocHandler
ContentHandler * prevDocHandler
Definition: IsisXMLMultipleValues.h:22
IsisXMLMultipleValues::IsisXMLMultipleValues
IsisXMLMultipleValues(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, std::vector< QString > *PmultipleValues)
Definition: IsisXMLMultipleValues.cpp:19
IsisXMLMultipleValues::endElement
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLMultipleValues.cpp:50
IsisXMLChTrans.h
IsisXMLIgnore.h
IsisAmlData.h
IsisXMLMultipleValues.h
IsisXMLMultipleValues::prevErrorHandler
ErrorHandler * prevErrorHandler
Definition: IsisXMLMultipleValues.h:23
IsisXMLHandler
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHandler.h:18
IsisXMLMultipleValues::characters
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLMultipleValues.cpp:46
std
Namespace for the standard library.
IsisXMLMultipleValues::~IsisXMLMultipleValues
~IsisXMLMultipleValues()
Definition: IsisXMLMultipleValues.cpp:39
IsisXMLMultipleValues::startElement
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLMultipleValues.cpp:58
IsisXMLIgnore
This is free and unencumbered software released into the public domain.
Definition: IsisXMLIgnore.h:18
IsisXMLMultipleValues
This is free and unencumbered software released into the public domain.
Definition: IsisXMLMultipleValues.h:18