|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef XmlStackedHandler_H
2 #define XmlStackedHandler_H
10 #include <QXmlSimpleReader>
12 template <
typename T>
class QStack;
14 class 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;
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:17
~XmlStackedHandler()
Definition: XmlStackedHandler.cpp:23
XmlStackedHandler()
Definition: XmlStackedHandler.cpp:17
XmlStackedHandlerReader * reader()
Definition: XmlStackedHandler.cpp:70
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
bool fatalError(const QXmlParseException &exception)
Definition: XmlStackedHandler.cpp:80
XmlStackedHandler * topContentHandler()
Definition: XmlStackedHandlerReader.cpp:71
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Definition: XmlStackedHandler.cpp:55
#define ASSERT(x)
Definition: IsisDebug.h:134
virtual void setReader(XmlStackedHandlerReader *)
Definition: XmlStackedHandler.cpp:29
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
virtual void popContentHandler()
Definition: XmlStackedHandlerReader.cpp:27
void switchToNewHandler(XmlStackedHandler *nextHandler)
Switch to a new content handler and continue processing using the new handler.
Definition: XmlStackedHandler.cpp:38
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16