Isis 3 Programmer Reference
|
Public Member Functions | |
XmlHandler (Template *currentTemplate, FileName templateFolder) | |
Constructor for the Template object's XmlHandler. More... | |
virtual bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
Method to read the given XML formatted attribute for a Template object into the XmlHandler. More... | |
virtual void | setReader (XmlStackedHandlerReader *) |
void | switchToNewHandler (XmlStackedHandler *nextHandler) |
Switch to a new content handler and continue processing using the new handler. More... | |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
Protected Member Functions | |
XmlStackedHandlerReader * | reader () |
const XmlStackedHandlerReader * | reader () const |
bool | fatalError (const QXmlParseException &exception) |
Private Member Functions | |
Q_DISABLE_COPY (XmlHandler) | |
Private Attributes | |
Template * | m_xmlHandlerTemplate |
A pointer to the Template object to be read or written. More... | |
FileName | m_xmlHandlerTemplateFolderName |
The name of the folder for the template xml. More... | |
XmlStackedHandlerReader * | m_reader |
int | m_depth |
QString | m_lastStartNamespaceURI |
QString | m_lastStartLocalName |
QString | m_lastStartQName |
QXmlAttributes | m_lastStartAtts |
Definition at line 57 of file Template.h.
Constructor for the Template object's XmlHandler.
currentTemplate | A pointer to the Template object. |
templateFolder | The name of the folder for the Template xml |
Definition at line 123 of file Template.cpp.
References m_xmlHandlerTemplate, and m_xmlHandlerTemplateFolderName.
|
virtual |
Method to read the given XML formatted attribute for a Template object into the XmlHandler.
namespaceURI | ??? |
localName | The keyword name given to the member variable in the XML. |
qName | ??? |
atts | The attribute containing the keyword value for the given localName. |
Reimplemented from Isis::XmlStackedHandler.
Definition at line 141 of file Template.cpp.
References Isis::Template::fileName(), Isis::Template::importName(), and Isis::Template::templateType().
|
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 |
A pointer to the Template object to be read or written.
Definition at line 67 of file Template.h.
Referenced by XmlHandler().
|
private |
The name of the folder for the template xml.
Definition at line 69 of file Template.h.
Referenced by XmlHandler().