6 #include <QXmlAttributes>
12 /*! \brief Base class for parsing maps from XML documents */
14 class parseBaseHandler : public QXmlDefaultHandler
19 QString errorProtocol();
20 QString parseHREF(QString);
21 virtual bool startElement ( const QString&, const QString&,
22 const QString& eName, const QXmlAttributes& atts )=0;
23 virtual bool endElement ( const QString&, const QString&, const QString& )=0;
24 virtual bool characters ( const QString&)=0;
26 virtual QString errorString()=0;
27 bool fatalError( const QXmlParseException&);
28 void setModel (VymModel *);
29 void setTmpDir (QString);
30 void setInputFile ( const QString &);
31 void setInputString ( const QString &);
32 void setLoadMode (const LoadMode &,int p=-1);
33 bool readHtmlAttr (const QXmlAttributes&);