Isis Developer Reference
Isis::XmlStackedHandlerReader Class Reference

Manage a stack of content handlers for reading XML files. More...

#include <XmlStackedHandlerReader.h>

Inheritance diagram for Isis::XmlStackedHandlerReader:
Inheritance graph
Collaboration diagram for Isis::XmlStackedHandlerReader:
Collaboration graph

Public Member Functions

 XmlStackedHandlerReader ()
 
 ~XmlStackedHandlerReader ()
 
virtual void popContentHandler ()
 
virtual void pushContentHandler (XmlStackedHandler *newHandler)
 Push a contentHandler and maybe continue parsing...
 
XmlStackedHandlertopContentHandler ()
 

Detailed Description

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.

See also
XmlStackedHandler
Author
2012-??-?? Steven Lambright

Constructor & Destructor Documentation

◆ XmlStackedHandlerReader()

Isis::XmlStackedHandlerReader::XmlStackedHandlerReader ( )

◆ ~XmlStackedHandlerReader()

Isis::XmlStackedHandlerReader::~XmlStackedHandlerReader ( )

Member Function Documentation

◆ popContentHandler()

void Isis::XmlStackedHandlerReader::popContentHandler ( )
virtual

◆ pushContentHandler()

void Isis::XmlStackedHandlerReader::pushContentHandler ( XmlStackedHandler * newHandler)
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.

See also
XmlStackedHandler

References topContentHandler().

Referenced by Isis::Project::open().

◆ topContentHandler()

XmlStackedHandler * Isis::XmlStackedHandlerReader::topContentHandler ( )

The documentation for this class was generated from the following files: