Isis Developer Reference
IsisXMLHelpers.h
Go to the documentation of this file.
1#ifndef IsisXMLHelpers_h
2#define IsisXMLHelpers_h
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
This is free and unencumbered software released into the public domain.
Definition IsisXMLHandler.h:18
This is free and unencumbered software released into the public domain.
Definition IsisXMLHelper.h:19
This is free and unencumbered software released into the public domain.
Definition IsisXMLHelpers.h:18
IsisXMLHelpers(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, std::vector< IsisHelperData > *Phelpers)
Definition IsisXMLHelpers.cpp:23
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition IsisXMLHelpers.cpp:62
~IsisXMLHelpers()
Definition IsisXMLHelpers.cpp:43
ErrorHandler * prevErrorHandler
Definition IsisXMLHelpers.h:23
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition IsisXMLHelpers.cpp:54
ContentHandler * prevDocHandler
Definition IsisXMLHelpers.h:22
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition IsisXMLHelpers.cpp:50
This is free and unencumbered software released into the public domain.
Definition IsisXMLIgnore.h:18