Isis 3 Developer Reference
IsisXMLApplication.h
Go to the documentation of this file.
1 
24 #ifndef IsisXMLApplication_h
25 #define IsisXMLApplication_h
26 
27 //#include <sax2/DefaultHandler.hpp>
28 
29 #include "IsisAmlData.h"
30 #include "IsisXMLGroups.h"
31 #include "IsisXMLHandler.h"
32 #include "IsisXMLIgnore.h"
33 #include "IsisXMLHistory.h"
40 
41  public:
42 
43  // Constructors
44  IsisXMLApplication(char *PencodingName,
45  bool &PexpandNamespaces,
46  XERCES::SAX2XMLReader* &Pparser,
47  IsisAmlData *PappData);
48 
50 
51 
52  // SAX DocumentHandler interface
53  void endDocument();
54 
55  void endElement(const XMLCh *const uri,
56  const XMLCh *const localname,
57  const XMLCh *const qname);
58 
59  void characters(const XMLCh *const chars,
60  const XMLSize_t length);
61 
62  void processingInstruction(const XMLCh *const target,
63  const XMLCh *const data);
64 
65  void startDocument();
66 
67  void startElement(const XMLCh *const uri,
68  const XMLCh *const localname,
69  const XMLCh *const qname,
70  const XERCES::Attributes &attributes);
71 
72 
73 
74  private:
75 
76  // Saved argument from the constructor
77  char *encodingName;
78  bool expandNamespaces;
79  XERCES::SAX2XMLReader *parser;
80  IsisAmlData *appData;
81 
82  // Handlers this handler knows how to create
83  IsisXMLHandler *briefHandler;
84  IsisXMLHandler *descriptionHandler;
85  IsisXMLGroups *groupsHandler;
86  IsisXMLMultipleValues *multipleValuesHandler;
87  IsisXMLIgnore *ignoreHandler;
88  IsisXMLHistory *historyHandler;
89 };
90 
91 
92 #endif
Definition: IsisXMLGroups.h:37
Definition: IsisXMLApplication.h:39
Definition: IsisXMLMultipleValues.h:37
~IsisXMLApplication()
Definition: IsisXMLApplication.cpp:60
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLApplication.cpp:74
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLApplication.cpp:82
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLApplication.cpp:95
void endDocument()
Definition: IsisXMLApplication.cpp:79
Definition: IsisXMLHandler.h:35
Definition: IsisAmlData.h:142
IsisXMLApplication(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, IsisAmlData *PappData)
Definition: IsisXMLApplication.cpp:38
void startDocument()
Definition: IsisXMLApplication.cpp:92
Definition: IsisXMLHistory.h:37
Definition: IsisXMLIgnore.h:37
void processingInstruction(const XMLCh *const target, const XMLCh *const data)
Definition: IsisXMLApplication.cpp:88