Isis 3 Programmer Reference
|
Process an XML file containing information about a WorkOrder. More...
Public Member Functions | |
XmlHandler (TargetBodyDisplayProperties *displayProperties) | |
Constructor for the XmlHandler class. More... | |
virtual bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
This overrides the parent startElement function in XmlStackedHandler so the parser can handle an XML file containing TargetBodyDisplayProperties information. 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 | |
TargetBodyDisplayProperties * | m_displayProperties |
QString | m_hexData |
Process an XML file containing information about a WorkOrder.
Definition at line 131 of file TargetBodyDisplayProperties.h.
Isis::TargetBodyDisplayProperties::XmlHandler::XmlHandler | ( | TargetBodyDisplayProperties * | displayProperties | ) |
Constructor for the XmlHandler class.
This is a child class of XmlStackedHandler, which is used by XmlStackedHandlerReader to parse an XML file.
displayProperties | Pointer to a TargetBodyDisplayProperties object. |
Definition at line 228 of file TargetBodyDisplayProperties.cpp.
|
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 TargetBodyDisplayProperties.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 288 of file TargetBodyDisplayProperties.cpp.
|
virtual |
This overrides the parent startElement function in XmlStackedHandler so the parser can handle an XML file containing TargetBodyDisplayProperties information.
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 TargetBodyDisplayProperties.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().