54 template<const QXmlNodeModelIndex::Axis axis>
86 asNode.sendNamespaces(
Ptr(const_cast<QAbstractXmlReceiver *>(
this)));
87 sendFromAxis<QXmlNodeModelIndex::AxisAttribute>(asNode);
88 sendFromAxis<QXmlNodeModelIndex::AxisChild>(asNode);
111 sendFromAxis<QXmlNodeModelIndex::AxisChild>(asNode);
122 "The caller must guarantee only whitespace is passed. Use characters() in other cases.");
QString toString() const
Returns a copy of the string reference as a QString object.
The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from QAbstractXmlNodeM...
#define QT_END_NAMESPACE
This macro expands to.
bool isNull() const
Returns true if this QXmlNodeModelIndex is a default constructed value, otherwise false...
#define it(className, varName)
Due to strong interdependencies, this file contains the definitions for the classes Item...
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
virtual void startElement(const QXmlName name)=0
Signals the start of an element by name name.
bool isNode() const
Determines whether this item is an atomic value, or a node.
void sendAsNode(const Item &outputItem)
virtual void endElement()=0
Signals the end of the current element.
virtual ~QAbstractXmlReceiver()
#define QT_BEGIN_NAMESPACE
This macro expands to.
QString trimmed() const Q_REQUIRED_RESULT
Returns a string that has whitespace removed from the start and the end.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
The namespace for the internal API of QtXmlPatterns.
QString stringValue() const
Returns the string value of this Item.
virtual void comment(const QString &value)=0
virtual void processingInstruction(const QXmlName name, const QString &value)=0
The QStringRef class provides a thin wrapper around QString substrings.
virtual void characters(const QString &value)=0
#define Q_ASSERT_X(cond, where, what)
const QXmlNodeModelIndex & asNode() const
Represents an item in the XPath 2.0 Data Model.
QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< QXmlNodeModelIndex > > iterate(const Axis axis) const
QExplicitlySharedDataPointer< QAbstractXmlReceiver > Ptr
void sendFromAxis(const QXmlNodeModelIndex &node)
virtual void attribute(const QXmlName name, const QString &value)=0
Signals the presence of an attribute node.
virtual void whitespaceOnly(const QStringRef &value)