1#ifndef XmlStackedHandler_H
2#define XmlStackedHandler_H
10#include <QXmlSimpleReader>
12template <
typename T>
class QStack;
14class QXmlParseException;
16 class XmlStackedHandlerReader;
126 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
127 const QString &qName,
const QXmlAttributes &atts);
129 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
130 const QString &qName);
135 bool fatalError(
const QXmlParseException &exception);
143 QString m_lastStartNamespaceURI;
144 QString m_lastStartLocalName;
145 QString m_lastStartQName;
146 QXmlAttributes m_lastStartAtts;
XML Handler that parses XMLs in a stack-oriented way.
Definition XmlStackedHandler.h:118
bool fatalError(const QXmlParseException &exception)
Definition XmlStackedHandler.cpp:78
~XmlStackedHandler()
Definition XmlStackedHandler.cpp:22
XmlStackedHandler()
Definition XmlStackedHandler.cpp:16
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition XmlStackedHandler.cpp:43
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition XmlStackedHandler.cpp:54
virtual void setReader(XmlStackedHandlerReader *)
Definition XmlStackedHandler.cpp:28
void switchToNewHandler(XmlStackedHandler *nextHandler)
Switch to a new content handler and continue processing using the new handler.
Definition XmlStackedHandler.cpp:37
XmlStackedHandlerReader * reader()
Definition XmlStackedHandler.cpp:68
Manage a stack of content handlers for reading XML files.
Definition XmlStackedHandlerReader.h:30
This is free and unencumbered software released into the public domain.
Definition Calculator.h:17
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16