00001 /*************************************************************************** 00002 answerhandler.h - description 00003 ------------------- 00004 begin : mar avr 11 2006 00005 copyright : (C) 2006 by 00006 - Sylvain Archenault<sylvain.archenault@laposte.net> 00007 - Yves Houpert <yves.houpert@insa-rouen.fr> 00008 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * * 00013 * This program is free software; you can redistribute it and/or modify * 00014 * it under the terms of the GNU General Public License as published by * 00015 * the Free Software Foundation; either version 2 of the License, or * 00016 * (at your option) any later version. * 00017 * * 00018 ***************************************************************************/ 00019 00020 #ifndef ANSWERHANDLER_H 00021 #define ANSWERHANDLER_H 00022 00023 #include <structurehandlerbase.h> 00024 00032 class AnswerHandler : public StructureHandlerBase 00033 { 00034 public: 00036 AnswerHandler(); 00037 00039 ~AnswerHandler(); 00040 00050 StructureHandler* startChild(const XMLCh* const lname, const Attributes& attrs); 00051 00058 void endDirectChild(const XMLCh* const lname, const std::string& content); 00059 00065 void startElement(const XMLCh* const localname, const Attributes& atts); 00066 00071 void endStructureChild(const XMLCh* const lname, const StructureHandler* pHandler); 00072 00073 }; 00074 00075 #endif
1.4.6