Isis Developer Reference
|
Manage a stack of content handlers for reading XML files. More...
#include <XmlStackedHandlerReader.h>
Public Member Functions | |
XmlStackedHandlerReader () | |
~XmlStackedHandlerReader () | |
virtual void | popContentHandler () |
virtual void | pushContentHandler (XmlStackedHandler *newHandler) |
Push a contentHandler and maybe continue parsing... | |
XmlStackedHandler * | topContentHandler () |
Manage a stack of content handlers for reading XML files.
This class is designed to work with the XmlStackedHandler class. Use this in-place of a QXmlSimpleReader if you want to use stack-based Xml parsing. The XmlStackedHandler class has an explanation as to how this is designed to work.
Isis::XmlStackedHandlerReader::XmlStackedHandlerReader | ( | ) |
Isis::XmlStackedHandlerReader::~XmlStackedHandlerReader | ( | ) |
|
virtual |
Referenced by Isis::XmlStackedHandler::endElement().
|
virtual |
Push a contentHandler and maybe continue parsing...
Push a contentHadler on the content handler stack. If there are currently no other handlers on the stack that is all that happens.
If there are other content handlers on the stack it is assumed that a XML file is being processed and processing continues by calling startElement() of the newly pushed handler. In this case pushContentHandler() will not return until the element has been fully processed.
References topContentHandler().
Referenced by Isis::Project::open().
XmlStackedHandler * Isis::XmlStackedHandlerReader::topContentHandler | ( | ) |
Referenced by Isis::XmlStackedHandler::endElement(), and pushContentHandler().