Isis 3 Developer Reference
IsisXMLParameter.h
Go to the documentation of this file.
1 
24 #ifndef IsisXMLParameter_h
25 #define IsisXMLParameter_h
26 
27 //#include <sax2/DefaultHandler.hpp>
28 
29 #include "IsisAmlData.h"
30 #include "IsisXMLHandler.h"
31 #include "IsisXMLMultipleValues.h"
32 #include "IsisXMLIgnore.h"
33 #include "IsisXMLList.h"
34 #include "IsisXMLHelpers.h"
35 
42 
43  public:
44 
45  ContentHandler *prevDocHandler;
46  ErrorHandler *prevErrorHandler;
47 
48 
49  IsisXMLParameter(char *PencodingName,
50  bool &PexpandNamespaces,
51  XERCES::SAX2XMLReader* &Pparser,
52  IsisParameterData *Pparameter);
53 
55 
56 // void endDocument();
57 
58  void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname);
59 
60  void characters(const XMLCh *const chars, const XMLSize_t length);
61 
62  void startElement(const XMLCh *const uri,
63  const XMLCh *const localname,
64  const XMLCh *const qname,
65  const XERCES::Attributes &attributes);
66 
67 
68  private:
69 
70  // Saved arguments from constructor
71  char *encodingName;
72  bool expandNamespaces;
73  XERCES::SAX2XMLReader *parser;
74  IsisParameterData *parameter;
75 
76  // Handlers this handler knows how to create
77  IsisXMLHandler *generalHandler;
78  IsisXMLMultipleValues *multipleValuesHandler;
79  IsisXMLIgnore *ignoreHandler;
80  IsisXMLList *listHandler;
81  IsisXMLHelpers *helpersHandler;
82 };
83 
84 
85 #endif
86 
Definition: IsisXMLMultipleValues.h:37
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES::Attributes &attributes)
Definition: IsisXMLParameter.cpp:100
ContentHandler * prevDocHandler
Definition: IsisXMLParameter.h:45
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
Definition: IsisXMLParameter.cpp:91
IsisXMLParameter(char *PencodingName, bool &PexpandNamespaces, XERCES::SAX2XMLReader *&Pparser, IsisParameterData *Pparameter)
Definition: IsisXMLParameter.cpp:39
Definition: IsisAmlData.h:71
ErrorHandler * prevErrorHandler
Definition: IsisXMLParameter.h:46
~IsisXMLParameter()
Definition: IsisXMLParameter.cpp:62
void characters(const XMLCh *const chars, const XMLSize_t length)
Definition: IsisXMLParameter.cpp:87
Definition: IsisXMLParameter.h:41
Definition: IsisXMLHandler.h:35
Definition: IsisXMLHelpers.h:38
Definition: IsisXMLIgnore.h:37
Definition: IsisXMLList.h:37