6 #include <QXmlAttributes>
13 /*! \brief Base class for parsing maps from XML documents */
15 class parseBaseHandler : public QXmlDefaultHandler
20 QString errorProtocol();
21 QString parseHREF(QString);
22 virtual bool startElement ( const QString&, const QString&,
23 const QString& eName, const QXmlAttributes& atts )=0;
24 virtual bool endElement ( const QString&, const QString&, const QString& )=0;
25 virtual bool characters ( const QString&)=0;
27 virtual QString errorString()=0;
28 bool fatalError( const QXmlParseException&);
29 void setModel (VymModel *);
30 void setTmpDir (QString);
31 void setInputFile (QString);
32 void setLoadMode (const LoadMode &);
41 // QList <State> stateStack;