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