QXmlSimpleReader Class Reference
[XML module]
The QXmlSimpleReader class provides an implementation of a simple XML
reader (i.e. parser).
More...
#include <qxml.h>
Inherits QXmlReader.
List of all member functions.
Public Members
Detailed Description
The QXmlSimpleReader class provides an implementation of a simple XML
reader (i.e. parser).
This XML reader is sufficient for simple parsing tasks. Here is a short list
of the properties of this reader:
- well-formed parser
- does not parse any external entities
- can do namespace processing
For getting started see also the
Quick start.
Member Function Documentation
QXmlSimpleReader::QXmlSimpleReader ()
Constructs a simple XML reader.
QXmlSimpleReader::~QXmlSimpleReader () [virtual]
Destroys a simple XML reader.
bool QXmlSimpleReader::feature ( const QString & name, bool * ok = 0 ) const [virtual]
Gets the state of a feature.
See also setFeature() and hasFeature().
Reimplemented from QXmlReader.
bool QXmlSimpleReader::hasFeature ( const QString & name ) const [virtual]
Returns TRUE if the class has a feature named name, otherwise FALSE.
See also setFeature() and feature().
Reimplemented from QXmlReader.
bool QXmlSimpleReader::hasProperty ( const QString & name ) const [virtual]
Returns FALSE since this class does not support any properties.
Reimplemented from QXmlReader.
void * QXmlSimpleReader::property ( const QString & name, bool * ok = 0 ) const [virtual]
Returns 0 since this class does not support any properties.
Reimplemented from QXmlReader.
void QXmlSimpleReader::setFeature ( const QString & name, bool value ) [virtual]
Sets the state of a feature.
Supported features are:
- http://xml.org/sax/features/namespaces:
if this feature is TRUE, namespace processing is performed
- http://xml.org/sax/features/namespace-prefixes:
if this feature is TRUE, the the original prefixed names and attributes
used for namespace declarations are reported
- http://trolltech.com/xml/features/report-whitespace-only-CharData:
if this feature is TRUE, CharData that consists only of whitespace (and
no other characters) is not reported via
QXmlContentHandler::characters()
See also feature() and hasFeature().
Reimplemented from QXmlReader.
void QXmlSimpleReader::setProperty ( const QString & name, void * value ) [virtual]
Does nothing since this class does not support any properties.
Reimplemented from QXmlReader.
This file is part of the Qtopia platform,
copyright © 1995-2005
Trolltech, all rights reserved.
| Copyright © 2005 Trolltech
| Trademarks
| Qtopia version 2.2.0
|