45 #include <QtCore/qtextstream.h> 46 #include <QtCore/qfile.h> 47 #include <QtCore/qstring.h> 48 #include <QtCore/qstringlist.h> 49 #include <QtCore/qlist.h> 50 #include <QtCore/qscopedpointer.h> 130 QString localName(
int index)
const;
131 QString qName(
int index)
const;
136 QString value(
int index)
const;
169 virtual QChar next();
170 virtual void reset();
200 int columnNumber()
const;
201 int lineNumber()
const;
219 virtual bool feature(
const QString&
name,
bool *ok = 0)
const = 0;
220 virtual void setFeature(
const QString& name,
bool value) = 0;
223 virtual void setProperty(
const QString& name,
void* value) = 0;
224 virtual bool hasProperty(
const QString& name)
const = 0;
247 bool feature(
const QString&
name,
bool *ok = 0)
const;
248 void setFeature(
const QString& name,
bool value);
252 void setProperty(
const QString& name,
void* value);
253 bool hasProperty(
const QString& name)
const;
271 virtual bool parseContinue();
289 virtual ~QXmlLocator();
291 virtual int columnNumber()
const = 0;
292 virtual int lineNumber()
const = 0;
305 virtual void setDocumentLocator(
QXmlLocator* locator) = 0;
306 virtual bool startDocument() = 0;
307 virtual bool endDocument() = 0;
308 virtual bool startPrefixMapping(
const QString& prefix,
const QString& uri) = 0;
309 virtual bool endPrefixMapping(
const QString& prefix) = 0;
311 virtual bool endElement(
const QString& namespaceURI,
const QString& localName,
const QString& qName) = 0;
312 virtual bool characters(
const QString& ch) = 0;
313 virtual bool ignorableWhitespace(
const QString& ch) = 0;
315 virtual bool skippedEntity(
const QString&
name) = 0;
334 virtual bool unparsedEntityDecl(
const QString& name,
const QString& publicId,
const QString& systemId,
const QString& notationName) = 0;
351 virtual bool endDTD() = 0;
352 virtual bool startEntity(
const QString& name) = 0;
353 virtual bool endEntity(
const QString& name) = 0;
354 virtual bool startCDATA() = 0;
355 virtual bool endCDATA() = 0;
356 virtual bool comment(
const QString& ch) = 0;
366 virtual bool externalEntityDecl(
const QString& name,
const QString& publicId,
const QString& systemId) = 0;
379 bool startDocument();
381 bool startPrefixMapping(
const QString& prefix,
const QString& uri);
382 bool endPrefixMapping(
const QString& prefix);
385 bool characters(
const QString& ch);
386 bool ignorableWhitespace(
const QString& ch);
401 bool startEntity(
const QString& name);
402 bool endEntity(
const QString& name);
405 bool comment(
const QString& ch);
408 bool internalEntityDecl(
const QString& name,
const QString& value);
QXmlDefaultHandler()
Constructs a handler for use with subclasses of QXmlReader.
The QXmlLocator class provides the XML handler classes with information about the parsing position wi...
The QXmlLexicalHandler class provides an interface to report the lexical content of XML data...
#define QT_END_NAMESPACE
This macro expands to.
virtual ~QXmlReader()
Destroys the reader.
The QByteArray class provides an array of bytes.
Q_CORE_EXPORT QTextStream & reset(QTextStream &s)
static void clear(QVariant::Private *d)
The QXmlNamespaceSupport class is a helper class for XML readers which want to include namespace supp...
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
virtual ~QXmlErrorHandler()
Destroys the error handler.
The QString class provides a Unicode character string.
int count() const
Returns the number of attributes in the list.
The QXmlErrorHandler class provides an interface to report errors in XML data.
virtual ~QXmlEntityResolver()
Destroys the entity resolver.
The QXmlDTDHandler class provides an interface to report DTD content of XML data. ...
The QChar class provides a 16-bit Unicode character.
QXmlDefaultHandlerPrivate * d
Q_GUI_EXPORT QString errorString(EGLint code=eglGetError())
The QXmlSimpleReader class provides an implementation of a simple XML parser.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool setData(const QByteArray &data, STGMEDIUM *pmedium)
The QStringList class provides a list of strings.
QXmlAttributes()
Constructs an empty attribute list.
static const char * data(const QByteArray &arr)
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
The QXmlContentHandler class provides an interface to report the logical content of XML data...
The QXmlDefaultHandler class provides a default implementation of all the XML handler classes...
The QXmlReader class provides an interface for XML readers (i.e.
static QChar resolveEntity(const QString &entity)
virtual ~QXmlContentHandler()
Destroys the content handler.
void * fetchData(QTestData *data, const char *tagName, int typeId)
The QFile class provides an interface for reading from and writing to files.
virtual ~QXmlDefaultHandler()
Destroys the handler.
The QTextStream class provides a convenient interface for reading and writing text.
virtual ~QXmlAttributes()
Destroys the attributes object.
The QXmlAttributes class provides XML attributes.
#define Q_DECLARE_PRIVATE(Class)
The QXmlEntityResolver class provides an interface to resolve external entities contained in XML data...
The QXmlDeclHandler class provides an interface to report declaration content of XML data...
virtual ~QXmlDTDHandler()
Destroys the DTD handler.
QXmlAttributesPrivate * d
QImageIOHandler * handler
virtual ~QXmlLexicalHandler()
Destroys the lexical handler.
QList< Attribute > AttributeList
The QIODevice class is the base interface class of all I/O devices in Qt.
virtual ~QXmlDeclHandler()
Destroys the declaration handler.
QScopedPointer< QXmlParseExceptionPrivate > d
The QXmlParseException class is used to report errors with the QXmlErrorHandler interface.
QXmlNamespaceSupportPrivate * d