HomeHome

Classes - Annotated - Tree - Functions - Home - Structure Qte

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:

For getting started see also the Quick start

Examples: xml/tagreader-with-features/tagreader.cpp xml/tagreader/tagreader.cpp


Member Function Documentation

QXmlDTDHandlerQXmlSimpleReader::DTDHandler () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

QXmlSimpleReader::QXmlSimpleReader ()

Constructs a simple XML reader.

QXmlSimpleReader::~QXmlSimpleReader () [virtual]

Destroys a simple XML reader.

QXmlContentHandlerQXmlSimpleReader::contentHandler () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

QXmlDeclHandlerQXmlSimpleReader::declHandler () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

QXmlEntityResolverQXmlSimpleReader::entityResolver () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

QXmlErrorHandlerQXmlSimpleReader::errorHandler () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

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 & ) const [virtual]

Returns FALSE since this class does not support any properties.

Reimplemented from QXmlReader.

QXmlLexicalHandlerQXmlSimpleReader::lexicalHandler () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

bool QXmlSimpleReader::parse ( const QXmlInputSource & input ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Examples: xml/tagreader-with-features/tagreader.cpp xml/tagreader/tagreader.cpp

Reimplemented from QXmlReader.

void* QXmlSimpleReader::property ( const QString &, bool * ok = 0 ) const [virtual]

Returns 0 since this class does not support any properties.

Reimplemented from QXmlReader.

void QXmlSimpleReader::setContentHandler ( QXmlContentHandler * handler ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Examples: xml/tagreader-with-features/tagreader.cpp xml/tagreader/tagreader.cpp

Reimplemented from QXmlReader.

void QXmlSimpleReader::setDTDHandler ( QXmlDTDHandler * handler ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

void QXmlSimpleReader::setDeclHandler ( QXmlDeclHandler * handler ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

void QXmlSimpleReader::setEntityResolver ( QXmlEntityResolver * handler ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

void QXmlSimpleReader::setErrorHandler ( QXmlErrorHandler * handler ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

void QXmlSimpleReader::setFeature ( const QString & name, bool value ) [virtual]

Sets the state of a feature.

Supported features are:

See also feature() and hasFeature().

Examples: xml/tagreader-with-features/tagreader.cpp

Reimplemented from QXmlReader.

void QXmlSimpleReader::setLexicalHandler ( QXmlLexicalHandler * handler ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QXmlReader.

void QXmlSimpleReader::setProperty ( const QString &, void * ) [virtual]

Does nothing since this class does not support any properties.

Reimplemented from QXmlReader.


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2005 Trolltech, all rights reserved.


Copyright © 2005 TrolltechTrademarks
Qt version 2.3.10