Isis 3 Programmer Reference
IsisXMLApplication.h
1 #ifndef IsisXMLApplication_h
2 #define IsisXMLApplication_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "IsisAmlData.h"
10 #include "IsisXMLGroups.h"
11 #include "IsisXMLHandler.h"
12 #include "IsisXMLIgnore.h"
13 #include "IsisXMLHistory.h"
20 
21  public:
22 
23  // Constructors
24  IsisXMLApplication(char *PencodingName,
25  bool &PexpandNamespaces,
26  XERCES::SAX2XMLReader* &Pparser,
27  IsisAmlData *PappData);
28 
30 
31 
32  // SAX DocumentHandler interface
33  void endDocument();
34 
35  void endElement(const XMLCh *const uri,
36  const XMLCh *const localname,
37  const XMLCh *const qname);
38 
39  void characters(const XMLCh *const chars,
40  const XMLSize_t length);
41 
42  void processingInstruction(const XMLCh *const target,
43  const XMLCh *const data);
44 
45  void startDocument();
46 
47  void startElement(const XMLCh *const uri,
48  const XMLCh *const localname,
49  const XMLCh *const qname,
50  const XERCES::Attributes &attributes);
51 
52 
53 
54  private:
55 
56  // Saved argument from the constructor
57  char *encodingName;
58  bool expandNamespaces;
59  XERCES::SAX2XMLReader *parser;
60  IsisAmlData *appData;
61 
62  // Handlers this handler knows how to create
63  IsisXMLHandler *briefHandler;
64  IsisXMLHandler *descriptionHandler;
65  IsisXMLGroups *groupsHandler;
66  IsisXMLMultipleValues *multipleValuesHandler;
67  IsisXMLIgnore *ignoreHandler;
68  IsisXMLHistory *historyHandler;
69 };
70 
71 
72 #endif
IsisXMLApplication
This is free and unencumbered software released into the public domain.
Definition: IsisXMLApplication.h:19
IsisXMLGroups
This is free and unencumbered software released into the public domain.
Definition: IsisXMLGroups.h:21
IsisXMLHistory
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHistory.h:18
IsisAmlData
Definition: IsisAmlData.h:124
IsisXMLHandler
This is free and unencumbered software released into the public domain.
Definition: IsisXMLHandler.h:18
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