Isis 3 Programmer Reference
Isis::Project::XmlHandler Class Reference
Inheritance diagram for Isis::Project::XmlHandler:
Inheritance graph
Collaboration diagram for Isis::Project::XmlHandler:
Collaboration graph

Public Member Functions

 XmlHandler (Project *project)
 
virtual bool startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
 
virtual bool endElement (const QString &namespaceURI, const QString &localName, const QString &qName)
 The xml parser for ending tags. More...
 
virtual void setReader (XmlStackedHandlerReader *)
 
void switchToNewHandler (XmlStackedHandler *nextHandler)
 Switch to a new content handler and continue processing using the new handler. More...
 

Protected Member Functions

XmlStackedHandlerReaderreader ()
 
const XmlStackedHandlerReaderreader () const
 
bool fatalError (const QXmlParseException &exception)
 

Private Member Functions

 Q_DISABLE_COPY (XmlHandler)
 

Private Attributes

Projectm_project
 
QList< ImageList * > m_imageLists
 
QList< ShapeList * > m_shapeLists
 
QList< ControlList * > m_controls
 
QList< BundleSolutionInfo * > m_bundleSolutionInfos
 
QList< TemplateList * > m_mapTemplateLists
 
QList< TemplateList * > m_regTemplateLists
 
WorkOrderm_workOrder
 

Detailed Description

Author
2012-09-?? Steven Lambright

Definition at line 597 of file Project.h.

Member Function Documentation

◆ endElement()

bool Isis::Project::XmlHandler::endElement ( const QString &  namespaceURI,
const QString &  localName,
const QString &  qName 
)
virtual

The xml parser for ending tags.

History:
2016-12-02 Tracie Sucharski - Changed localName == "project" to localName == "imageLists", so that images and shapes are added to the project as soon as their end tag is found. Restoring activeImageList was not working since the project had no images until the end tag for "project" was reached.

Reimplemented from Isis::XmlStackedHandler.

Definition at line 3072 of file Project.cpp.

References Isis::BundleSolutionInfo::adjustedImages(), Isis::Project::control(), Isis::Project::imageList(), and Isis::Project::shapeList().

◆ switchToNewHandler()

void Isis::XmlStackedHandler::switchToNewHandler ( XmlStackedHandler nextHandler)
inherited

Switch to a new content handler and continue processing using the new handler.

Definition at line 32 of file XmlStackedHandler.cpp.

Referenced by Isis::XmlStackedHandlerReader::pushContentHandler().


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