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