USGS

Isis 3.0 Object Programmers' Reference

Home

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