Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SAX2Handler.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #ifndef XMLI_HANDLER_H
00009 #define XMLI_HANDLER_H
00010 #include <string>
00011 #include <vector>
00012 #include "XMLInterface/Attribute.h"
00013 
00014 namespace xmli {
00016   //
00019   class SAX2Handler {
00020   public:
00021     SAX2Handler();
00022     virtual ~SAX2Handler();
00023     virtual void StartElement(const std::string& uri,
00024                               const std::string& localname,
00025                               const std::string& qname,
00026                               const AttributeList& attrs);
00027     virtual void Characters(const std::string& chars);
00028     virtual void EndElement(const std::string& uri,
00029                             const std::string& localname,
00030                             const std::string& qname);
00031     
00032   private:
00033     std::string            fUri;        
00034     std::string            fLocalName;  
00035     std::string            fQname;      
00036     std::vector<Attribute> fAttributes; 
00037     std::string            fCharacters; 
00038     int                    fCount;      
00039   };
00040 }
00041 #endif
00042 

Generated on Thu Sep 4 02:05:28 2008 for NOvA Offline by doxygen 1.3.5