Isis 3 Programmer Reference
|
Public Member Functions | |
XmlHandler (Footprint2DView *footprintView) | |
This function sets the Directory pointer for the Directory::XmlHandler class. More... | |
~XmlHandler () | |
The Destructor for Directory::XmlHandler. More... | |
virtual bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
The XML reader invokes this method at the start of every element in the XML document. More... | |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
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 | |
XmlStackedHandlerReader * | reader () |
const XmlStackedHandlerReader * | reader () const |
bool | fatalError (const QXmlParseException &exception) |
Private Member Functions | |
Q_DISABLE_COPY (XmlHandler) | |
Private Attributes | |
Footprint2DView * | m_footprintView |
The Footprint2DView. More... | |
XmlStackedHandlerReader * | m_reader |
int | m_depth |
QString | m_lastStartNamespaceURI |
QString | m_lastStartLocalName |
QString | m_lastStartQName |
QXmlAttributes | m_lastStartAtts |
Definition at line 145 of file Footprint2DView.h.
Isis::Footprint2DView::XmlHandler::XmlHandler | ( | Footprint2DView * | footprintView | ) |
This function sets the Directory pointer for the Directory::XmlHandler class.
directory | The new directory we are setting XmlHandler's member variable to. |
Definition at line 383 of file Footprint2DView.cpp.
References m_footprintView.
Isis::Footprint2DView::XmlHandler::~XmlHandler | ( | ) |
The Destructor for Directory::XmlHandler.
Definition at line 392 of file Footprint2DView.cpp.
|
virtual |
The XML reader invokes this method at the start of every element in the XML document.
This method expects <footprint2DView> and <imageFileList> elements. A quick example using this function: startElement("xsl","stylesheet","xsl:stylesheet",attributes)
namespaceURI | The Uniform Resource Identifier of the element's namespace |
localName | The local name string |
qName | The XML qualified string (or empty, if QNames are not available). |
atts | The XML attributes attached to each element |
Reimplemented from Isis::XmlStackedHandler.
Definition at line 411 of file Footprint2DView.cpp.
|
inherited |
Switch to a new content handler and continue processing using the new handler.
Definition at line 38 of file XmlStackedHandler.cpp.
Referenced by Isis::XmlStackedHandlerReader::pushContentHandler().
|
private |