XmlHandler Class Reference
The XmlHandler class is a XML document structure holder.
More...
#include <qtopia/xmlreader.h>
List of all member functions.
Public Members
bool
startElement ( const QString & ns, const QString & ln, const QString & qName, const QXmlAttributes & attr )
bool
endElement ( const QString & ns, const QString & ln, const QString & qName )
Detailed Description
The XmlHandler class is a XML document structure holder.
This class provides a tree of Nodes that developers can use to organise their
XML data.
See also Node and Qtopia Classes.
Member Function Documentation
XmlHandler::XmlHandler ()
Creates an empty XmlHandler.
XmlHandler::~XmlHandler ()
Destructs an XmlHandler.
bool XmlHandler::characters ( const QString & ch )
Appends the data ch to the current Node.
bool XmlHandler::endDocument ()
Returns TRUE if the XmlHandler contains a valid tree of Nodes.
bool XmlHandler::endElement ( const QString & ns, const QString & ln, const QString & qName )
Ends a sub-element safely.
Node * XmlHandler::firstNode () const
Returns the root Node of the tree.
bool XmlHandler::startDocument ()
Initialises an XmlHandler with a root Node named DOCUMENT.
Returns TRUE if successful.
bool XmlHandler::startElement ( const QString & ns, const QString & ln, const QString & qName, const QXmlAttributes & attr )
Creates a new sub-element, with name qName and attributes attr.
This file is part of the Qtopia ,
copyright © 1995-2002
Trolltech, all rights reserved.
Copyright © 2001-2002 Trolltech | Trademarks
| Qtopia version 1.7.1
|