|
Isis 3.0 Object Programmers' Reference |
Home |
00001 00024 #ifndef IsisXMLIgnore_h 00025 #define IsisXMLIgnore_h 00026 00027 //#include <sax2/DefaultHandler.hpp> 00028 00029 #include "IsisAmlData.h" 00030 #include "IsisXMLHandler.h" 00031 00037 class IsisXMLIgnore : public IsisXMLHandler { 00038 00039 public: 00040 00041 ContentHandler *prevDocHandler; 00042 ErrorHandler *prevErrorHandler; 00043 00044 00045 IsisXMLIgnore(char *PencodingName, 00046 bool &PexpandNamespaces, 00047 XERCES::SAX2XMLReader* &Pparser, 00048 const std::string Pignore); 00049 00050 ~IsisXMLIgnore(); 00051 00052 void characters(const XMLCh *const chars, 00053 const XMLSize_t length); 00054 00055 void endElement(const XMLCh *const uri, const XMLCh *const localname, 00056 const XMLCh *const qname); 00057 00058 private: 00059 00060 // Saved arguments from constructor 00061 char *encodingName; 00062 bool expandNamespaces; 00063 XERCES::SAX2XMLReader *parser; 00064 std::string ignore; 00065 00066 }; 00067 00068 00069 #endif 00070 00071 00072 00073 00074 00075