52 #ifndef Patternist_DocumentContentValidator_H 53 #define Patternist_DocumentContentValidator_H The QVariant class acts like a union for the most common Qt data types.
const Expression::ConstPtr m_expr
virtual void comment(const QString &value)
const DynamicContext::Ptr m_context
virtual void attribute(const QXmlName &name, const QStringRef &value)
A push interface for the XPath Data Model. Similar to SAX's ContentHandler.
#define QT_END_NAMESPACE
This macro expands to.
QAbstractXmlReceiver *const m_receiver
virtual void startOfSequence()
virtual void endOfSequence()
DocumentContentValidator(QAbstractXmlReceiver *const receiver, const DynamicContext::Ptr &context, const Expression::ConstPtr &expr)
The QString class provides a Unicode character string.
virtual void namespaceBinding(const QXmlName &nb)
Signals the presence of the namespace declaration nb.
virtual void startDocument()
virtual void endDocument()
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void atomicValue(const QVariant &value)
The namespace for the internal API of QtXmlPatterns.
Receives QAbstractXmlReceiver events and validates that they are correct, before sending them on to a...
The QStringRef class provides a thin wrapper around QString substrings.
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
Represents an item in the XPath 2.0 Data Model.
virtual void startElement(const QXmlName &name)
virtual void characters(const QStringRef &value)
virtual void endElement()
Signals the end of the current element.
virtual void processingInstruction(const QXmlName &name, const QString &value)
virtual void item(const Item &item)
Sends an Item to this QAbstractXmlReceiver that may be a QXmlNodeModelIndex or an AtomicValue...