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

Public Member Functions

 XmlHandler (CnetEditorView *cnetEditorView)
 Creates an XmlHandler for cnetEditor. More...
 
 ~XmlHandler ()
 Destructor. More...
 
virtual bool startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
 Placeholder for later serialization of CnetEditorViews. More...
 
virtual bool endElement (const QString &namespaceURI, const QString &localName, const QString &qName)
 This method calls XmlStackedHandler's endElement() and dereferences pointers according to the value of localName. 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

CnetEditorViewm_cnetEditorView
 The view we are working with. More...
 

Detailed Description

Author
2012-09-?? Steven Lambright
History:
2018-04-04 Tracie Sucharski - Implemented for CnetEditorView

Definition at line 105 of file CnetEditorView.h.

Constructor & Destructor Documentation

◆ XmlHandler()

Isis::CnetEditorView::XmlHandler::XmlHandler ( CnetEditorView cnetEditorView)

Creates an XmlHandler for cnetEditor.

Parameters
cnetEditorThe widget to be serialized

Definition at line 223 of file CnetEditorView.cpp.

References m_cnetEditorView.

◆ ~XmlHandler()

Isis::CnetEditorView::XmlHandler::~XmlHandler ( )

Destructor.

Definition at line 231 of file CnetEditorView.cpp.

Member Function Documentation

◆ endElement()

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

This method calls XmlStackedHandler's endElement() and dereferences pointers according to the value of localName.

Parameters
namespaceURI???
localNameDetermines which pointers to dereference.
qName???
Returns
bool The result of XmlStackedHandler's endElement() method.

Reimplemented from Isis::XmlStackedHandler.

Definition at line 266 of file CnetEditorView.cpp.

◆ startElement()

bool Isis::CnetEditorView::XmlHandler::startElement ( const QString &  namespaceURI,
const QString &  localName,
const QString &  qName,
const QXmlAttributes &  atts 
)
virtual

Placeholder for later serialization of CnetEditorViews.

Parameters
cnetEditorThe CnetEditorView to be serialized
namespaceURI???
localNameDetermines what attributes to retrieve from atts.
qName???
attsStores the attributes.
Returns
bool The result of XmlStackedHandler's startElement() method.

Reimplemented from Isis::XmlStackedHandler.

Definition at line 248 of file CnetEditorView.cpp.

◆ 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().

Member Data Documentation

◆ m_cnetEditorView

CnetEditorView* Isis::CnetEditorView::XmlHandler::m_cnetEditorView
private

The view we are working with.

Definition at line 118 of file CnetEditorView.h.

Referenced by XmlHandler().


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