42 #ifndef QXMLSERIALIZER_H 43 #define QXMLSERIALIZER_H 45 #include <QtXmlPatterns/QAbstractXmlReceiver> 98 inline bool isBindingInScope(
const QXmlName nb)
const;
115 InsideDocumentElement
122 inline bool atDocumentRoot()
const;
128 inline void startContent();
133 void writeEscaped(
const QString &toEscape);
138 inline void writeEscapedAttribute(
const QString &toEscape);
143 inline void write(
const QXmlName &name);
145 inline void write(
const char *
const chars);
149 inline void write(
const QString &content);
The QVariant class acts like a union for the most common Qt data types.
virtual void characters(const QStringRef &value)=0
This callback is called when a text node appears in the XQuery Sequence.
#define QT_END_NAMESPACE
This macro expands to.
virtual void attribute(const QXmlName &name, const QStringRef &value)=0
This callback is called when an attribute node appears in the XQuery Sequence.
virtual void startElement(const QXmlName &name)=0
This callback is called when a new element node appears in the XQuery Sequence.
virtual void processingInstruction(const QXmlName &target, const QString &value)=0
This callback is called when a processing instruction appears in the XQuery Sequence.
The QString class provides a Unicode character string.
virtual void comment(const QString &value)=0
This callback is called when a comment node appears in the XQuery Sequence.
virtual void endOfSequence()=0
This callback is called once only, right after the XQuery Sequence ends.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QXmlSerializer class is an implementation of QAbstractXmlReceiver for transforming XQuery output ...
virtual void endDocument()=0
This callback is called when the end of a document node appears in the XQuery Sequence.
static QTextCodec * codec(MYSQL *mysql)
virtual void startOfSequence()=0
This callback is called once only, right before the XQuery Sequence begins.
virtual void atomicValue(const QVariant &value)=0
This callback is called when an atomic value appears in the XQuery Sequence.
The State element defines configurations of objects and properties.
The QStringRef class provides a thin wrapper around QString substrings.
virtual void startDocument()=0
This callback is called when a document node appears in the XQuery Sequence.
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
The QAbstractXmlReceiver class provides a callback interface for transforming the output of a QXmlQue...
Represents an item in the XPath 2.0 Data Model.
#define Q_XMLPATTERNS_EXPORT
virtual void item(const QPatternist::Item &item)
#define Q_DECLARE_PRIVATE(Class)
virtual void namespaceBinding(const QXmlName &name)=0
This callback is called when a namespace binding is in scope of an element.
The QTextCodec class provides conversions between text encodings.
The QIODevice class is the base interface class of all I/O devices in Qt.
The QXmlQuery class performs XQueries on XML data, or on non-XML data modeled to look like XML...
virtual void endElement()=0
This callback is called when the end of an element node appears in the XQuery Sequence.