The QXmlInputSource class is the source where XML data is read from. More...
#include <qxml.h>
Public Member Functions | |
QXmlInputSource () | |
QXmlInputSource (QTextStream &stream) | |
QXmlInputSource (QFile &file) | |
virtual | ~QXmlInputSource () |
virtual const QString & | data () const |
virtual void | setData (const QString &d) |
Private Member Functions | |
void | readInput (QByteArray &rawData) |
Private Attributes | |
QString | input |
The QXmlInputSource class is the source where XML data is read from.
XML
All subclasses of QXmlReader read the input from this class.
QXmlInputSource::QXmlInputSource | ( | ) |
Constructs a input source which contains no data.
QXmlInputSource::QXmlInputSource | ( | QTextStream & | stream | ) |
QXmlInputSource::QXmlInputSource | ( | QFile & | file | ) |
|
virtual |
|
virtual |
Returns all the data this input source contains.
|
private |
Read the XML file from the byte array; try to recoginize the encoding.
Definition at line 784 of file qxml.cpp.
|
virtual |