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