1 #ifndef XmlStackedHandler_H 2 #define XmlStackedHandler_H 4 #include <QXmlSimpleReader> 6 template <
typename T>
class QStack;
8 class QXmlParseException;
10 class XmlStackedHandlerReader;
120 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
121 const QString &qName,
const QXmlAttributes &atts);
123 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
124 const QString &qName);
129 bool fatalError(
const QXmlParseException &exception);
137 QString m_lastStartNamespaceURI;
138 QString m_lastStartLocalName;
139 QString m_lastStartQName;
140 QXmlAttributes m_lastStartAtts;
XmlStackedHandler()
Definition: XmlStackedHandler.cpp:11
XmlStackedHandlerReader * reader()
Definition: XmlStackedHandler.cpp:64
bool fatalError(const QXmlParseException &exception)
Definition: XmlStackedHandler.cpp:74
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:38
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:112
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition: XmlStackedHandler.cpp:49
Definition: Calculator.h:32
void switchToNewHandler(XmlStackedHandler *nextHandler)
Switch to a new content handler and continue processing using the new handler.
Definition: XmlStackedHandler.cpp:32
virtual void setReader(XmlStackedHandlerReader *)
Definition: XmlStackedHandler.cpp:23
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:25
~XmlStackedHandler()
Definition: XmlStackedHandler.cpp:17