Isis 3 Programmer Reference
IsisXMLHelpers.h
1#ifndef IsisXMLHelpers_h
2#define IsisXMLHelpers_h
7
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include "IsisAmlData.h"
11#include "IsisXMLHelper.h"
12#include "IsisXMLIgnore.h"
18class IsisXMLHelpers : public IsisXMLHandler {
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
31 ~IsisXMLHelpers();
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.
This is free and unencumbered software released into the public domain.