#include <qxmlstream.h>
Definition at line 290 of file qxmlstream.h.
Public Types | |
enum | TokenType { NoToken = 0, Invalid, StartDocument, EndDocument, StartElement, EndElement, Characters, Comment, DTD, EntityReference, ProcessingInstruction } |
enum | ReadElementTextBehaviour { ErrorOnUnexpectedElement, IncludeChildElements, SkipChildElements } |
enum | Error { NoError, UnexpectedElementError, CustomError, NotWellFormedError, PrematureEndOfDocumentError } |
enum TokenType |
Enumerator | |
---|---|
NoToken | |
Invalid | |
StartDocument | |
EndDocument | |
StartElement | |
EndElement | |
Characters | |
Comment | |
DTD | |
EntityReference | |
ProcessingInstruction |
Definition at line 293 of file qxmlstream.h.
Enumerator | |
---|---|
ErrorOnUnexpectedElement | |
IncludeChildElements | |
SkipChildElements |
Definition at line 357 of file qxmlstream.h.
enum Error |
Enumerator | |
---|---|
NoError | |
UnexpectedElementError | |
CustomError | |
NotWellFormedError | |
PrematureEndOfDocumentError |
Definition at line 385 of file qxmlstream.h.
QXmlStreamReader | ( | ) |
QXmlStreamReader | ( | QIODevice * | device | ) |
QXmlStreamReader | ( | const QByteArray & | data | ) |
QXmlStreamReader | ( | const QString & | data | ) |
QXmlStreamReader | ( | const char * | data | ) |
~QXmlStreamReader | ( | ) |
QIODevice* device | ( | ) | const |
void addData | ( | const QByteArray & | data | ) |
void addData | ( | const char * | data | ) |
void clear | ( | ) |
bool atEnd | ( | ) | const |
TokenType readNext | ( | ) |
bool readNextStartElement | ( | ) |
void skipCurrentElement | ( | ) |
TokenType tokenType | ( | ) | const |
QString tokenString | ( | ) | const |
void setNamespaceProcessing | ( | bool | ) |
bool namespaceProcessing | ( | ) | const |
|
inline |
Definition at line 335 of file qxmlstream.h.
|
inline |
Definition at line 336 of file qxmlstream.h.
|
inline |
Definition at line 337 of file qxmlstream.h.
|
inline |
Definition at line 338 of file qxmlstream.h.
|
inline |
Definition at line 339 of file qxmlstream.h.
bool isWhitespace | ( | ) | const |
bool isCDATA | ( | ) | const |
|
inline |
Definition at line 342 of file qxmlstream.h.
|
inline |
Definition at line 343 of file qxmlstream.h.
|
inline |
Definition at line 344 of file qxmlstream.h.
|
inline |
Definition at line 345 of file qxmlstream.h.
bool isStandaloneDocument | ( | ) | const |
QStringRef documentVersion | ( | ) | const |
QStringRef documentEncoding | ( | ) | const |
qint64 lineNumber | ( | ) | const |
qint64 columnNumber | ( | ) | const |
qint64 characterOffset | ( | ) | const |
QXmlStreamAttributes attributes | ( | ) | const |
QString readElementText | ( | ReadElementTextBehaviour | behaviour | ) |
QString readElementText | ( | ) |
QStringRef name | ( | ) | const |
QStringRef namespaceUri | ( | ) | const |
QStringRef qualifiedName | ( | ) | const |
QStringRef prefix | ( | ) | const |
QStringRef processingInstructionTarget | ( | ) | const |
QStringRef processingInstructionData | ( | ) | const |
QStringRef text | ( | ) | const |
QXmlStreamNamespaceDeclarations namespaceDeclarations | ( | ) | const |
void addExtraNamespaceDeclaration | ( | const QXmlStreamNamespaceDeclaration & | extraNamespaceDeclaraction | ) |
void addExtraNamespaceDeclarations | ( | const QXmlStreamNamespaceDeclarations & | extraNamespaceDeclaractions | ) |
QXmlStreamNotationDeclarations notationDeclarations | ( | ) | const |
QXmlStreamEntityDeclarations entityDeclarations | ( | ) | const |
QStringRef dtdName | ( | ) | const |
QStringRef dtdPublicId | ( | ) | const |
QStringRef dtdSystemId | ( | ) | const |
QString errorString | ( | ) | const |
Error error | ( | ) | const |
|
inline |
Definition at line 396 of file qxmlstream.h.
void setEntityResolver | ( | QXmlStreamEntityResolver * | resolver | ) |
QXmlStreamEntityResolver* entityResolver | ( | ) | const |