![]() |
Isis 3 Programmer Reference
|
Process a GuiCameraDisplayProperties in a stack-oriented way. More...
Public Member Functions | |
XmlHandler (GuiCameraDisplayProperties *displayProperties) | |
Sets the GuiCameraDisplayProperties variable pointer. 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 | characters (const QString &ch) |
This implementation of a virtual function calls QXmlDefaultHandler::characters(QString &ch) which in turn calls QXmlContentHandler::characters(QString &ch) which is called when the XML processor has parsed a chunk of character data. More... | |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
The XML reader invokes this method at the end of every element in the XML document. 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 | |
XmlStackedHandlerReader * | reader () |
const XmlStackedHandlerReader * | reader () const |
bool | fatalError (const QXmlParseException &exception) |
Private Member Functions | |
Q_DISABLE_COPY (XmlHandler) | |
Private Attributes | |
GuiCameraDisplayProperties * | m_displayProperties |
An internal pointer to GuiCameraDisplayProperties object. More... | |
QString | m_hexData |
An internal QString variable used to store character data found in the content of XML elements. More... | |
Process a GuiCameraDisplayProperties in a stack-oriented way.
Child class for XmlStackedHandler which is used to process XML in a stack-oriented way. It's been modified to process a GuiCameraDisplayProperties object.
2015-09-08 Ken Edmundson - Creation.
2016-06-08 Tyler Wilson - Added documentation to many of the member functions, and cleaned up the formatting. Fixes #3997.
Definition at line 140 of file GuiCameraDisplayProperties.h.
Isis::GuiCameraDisplayProperties::XmlHandler::XmlHandler | ( | GuiCameraDisplayProperties * | displayProperties | ) |
Sets the GuiCameraDisplayProperties variable pointer.
displayProperties | The new pointer. |
Definition at line 224 of file GuiCameraDisplayProperties.cpp.
References m_displayProperties.
|
virtual |
This implementation of a virtual function calls QXmlDefaultHandler::characters(QString &ch) which in turn calls QXmlContentHandler::characters(QString &ch) which is called when the XML processor has parsed a chunk of character data.
ch | The character data. |
Definition at line 269 of file GuiCameraDisplayProperties.cpp.
|
virtual |
The XML reader invokes this method at the end of every element in the XML document.
namespaceURI | The Uniform Resource Identifier of the namespace (eg. "xmlns") |
localName | The local name string (eg. "xhtml") |
qName | The XML qualified string (eg. "xmlns:xhtml"). This can be empty if QNames are not available. |
Reimplemented from Isis::XmlStackedHandler.
Definition at line 287 of file GuiCameraDisplayProperties.cpp.
|
virtual |
The XML reader invokes this method at the start of every element in the XML document.
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 243 of file GuiCameraDisplayProperties.cpp.
References Isis::DisplayProperties::displayName().
|
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().
|
private |
An internal pointer to GuiCameraDisplayProperties object.
Definition at line 158 of file GuiCameraDisplayProperties.h.
Referenced by XmlHandler().
|
private |
An internal QString variable used to store character data found in the content of XML elements.
Definition at line 164 of file GuiCameraDisplayProperties.h.