/***************************************************************************
 *                          Zanoza Modeler v2.x                            *
 *      This is unpublished propietary source code of Zanoza Software.     *
 *      The copyright notice does not evidence any actual or intended      *
 *                    publication of such source code.                     *
 *                                                                         *
 *                Copyright (c) 2002-2008 Zanoza Software.                 *
 *                                                                         *
 *                        All rights reserved.                             *
 ***************************************************************************
 *--------------------------------------------------------------------------
 * @author:   Oleg Melashenko
 *--------------------------------------------------------------------------
 * @purpose:  Declaration of the class IXMLHandler
 *   (not an event-handling)
 *--------------------------------------------------------------------------
 * @created: Wednesday, May 21, 2003 11:33:26
 */

#if !defined(IXMLHandler_h_included)
#define IXMLHandler_h_included
//forward declaration of this class might require
namespace core
{ namespace events
  { class IXMLHandler; }; };
#include <zmodeler.h>
#include <core/events/eventsTypes.h>

namespace core
{
  namespace events
  {
    
    class IXMLHandler : public ZUnknown
    {
    public:
      virtual ZRESULT beginDocument(void)=0;
      virtual ZRESULT beginElement(ZString& strName, ZStringSeq& seqAttribs)=0;
      virtual ZRESULT endElement(ZString& strName, ZString& strText)=0;
      virtual ZRESULT endDocument(void)=0;
    
    };//class IXMLHandler
  };//events
};//core

#endif
