QXmlStreamReader

#include <QtCore/QXmlStreamReader>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QXmlStreamReader


Overview

Public Functions Index

QXmlStreamReader ()
QXmlStreamReader (QIODevice *device)
QXmlStreamReader (const QByteArray &data)
QXmlStreamReader (const QString &data)
QXmlStreamReader (const char *data)
~QXmlStreamReader ()
voidaddData (const QByteArray &data)
voidaddData (const QString &data)
voidaddData (const char *data)
voidaddExtraNamespaceDeclaration (const QXmlStreamNamespaceDeclaration &extraNamespaceDeclaraction)
voidaddExtraNamespaceDeclarations (const QXmlStreamNamespaceDeclarations &extraNamespaceDeclaractions)
boolatEnd () const
QXmlStreamAttributesattributes () const
qint64characterOffset () const
voidclear ()
qint64columnNumber () const
QIODevice *device () const
QStringRefdocumentEncoding () const
QStringRefdocumentVersion () const
QStringRefdtdName () const
QStringRefdtdPublicId () const
QStringRefdtdSystemId () const
QXmlStreamEntityDeclarationsentityDeclarations () const
QXmlStreamEntityResolver *entityResolver () const
Errorerror () const
QStringerrorString () const
boolhasError () const
boolisCDATA () const
boolisCharacters () const
boolisComment () const
boolisDTD () const
boolisEndDocument () const
boolisEndElement () const
boolisEntityReference () const
boolisProcessingInstruction () const
boolisStandaloneDocument () const
boolisStartDocument () const
boolisStartElement () const
boolisWhitespace () const
qint64lineNumber () const
QStringRefname () const
QXmlStreamNamespaceDeclarationsnamespaceDeclarations () const
boolnamespaceProcessing () const
QStringRefnamespaceUri () const
QXmlStreamNotationDeclarationsnotationDeclarations () const
QStringRefprefix () const
QStringRefprocessingInstructionData () const
QStringRefprocessingInstructionTarget () const
QStringRefqualifiedName () const
voidraiseError (const QString &message=QString())
QStringreadElementText (ReadElementTextBehaviour behaviour)
QStringreadElementText ()
TokenTypereadNext ()
boolreadNextStartElement ()
voidsetDevice (QIODevice *device)
voidsetEntityResolver (QXmlStreamEntityResolver *resolver)
voidsetNamespaceProcessing (bool)
voidskipCurrentElement ()
QStringReftext () const
QStringtokenString () const
TokenTypetokenType () const

Public Types

Error

NoError
UnexpectedElementError
CustomError
NotWellFormedError
PrematureEndOfDocumentError

ReadElementTextBehaviour

ErrorOnUnexpectedElement
IncludeChildElements
SkipChildElements

TokenType

NoToken 0
Invalid
StartDocument
EndDocument
StartElement
EndElement
Characters
Comment
DTD
EntityReference
ProcessingInstruction

Public Functions

QXmlStreamReader ()

QXmlStreamReader (

QXmlStreamReader (

QXmlStreamReader (

QXmlStreamReader (
  • const char *data)

~QXmlStreamReader ()

Destructor.

void addData (

void addData (

void addData (
  • const char *data)

void addExtraNamespaceDeclaration (

void addExtraNamespaceDeclarations (

bool atEnd ()

QXmlStreamAttributes attributes ()

qint64 characterOffset ()

void clear ()

qint64 columnNumber ()

QIODevice * device ()

QStringRef documentEncoding ()

QStringRef documentVersion ()

QStringRef dtdName ()

QStringRef dtdPublicId ()

QStringRef dtdSystemId ()

QXmlStreamEntityDeclarations entityDeclarations ()

QXmlStreamEntityResolver * entityResolver ()

Error error ()

QString errorString ()

bool hasError ()

bool isCDATA ()

bool isCharacters ()

bool isComment ()

bool isDTD ()

bool isEndDocument ()

bool isEndElement ()

bool isEntityReference ()

bool isProcessingInstruction ()

bool isStandaloneDocument ()

bool isStartDocument ()

bool isStartElement ()

bool isWhitespace ()

qint64 lineNumber ()

QStringRef name ()

QXmlStreamNamespaceDeclarations namespaceDeclarations ()

bool namespaceProcessing ()

QStringRef namespaceUri ()

QXmlStreamNotationDeclarations notationDeclarations ()

QStringRef prefix ()

QStringRef processingInstructionData ()

QStringRef processingInstructionTarget ()

QStringRef qualifiedName ()

void raiseError (

QString readElementText (
  • ReadElementTextBehaviourbehaviour)

QString readElementText ()

TokenType readNext ()

bool readNextStartElement ()

void setDevice (

void setEntityResolver (

void setNamespaceProcessing (
  • bool)

void skipCurrentElement ()

QStringRef text ()

QString tokenString ()

TokenType tokenType ()

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus