86 m_context->
error(QtXmlPatterns::tr(
"An attribute node cannot be a " 87 "child of a document node. " 88 "Therefore, the attribute %1 " 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 NamePool::Ptr namePool() const =0
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 namespaceBinding(const QXmlName &nb)=0
Signals the presence of the namespace declaration nb.
QString formatKeyword(const QString &keyword)
virtual void endOfSequence()
DocumentContentValidator(QAbstractXmlReceiver *const receiver, const DynamicContext::Ptr &context, const Expression::ConstPtr &expr)
virtual void startElement(const QXmlName name)=0
Signals the start of an element by name name.
virtual void startDocument()=0
The QString class provides a Unicode character string.
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 void namespaceBinding(const QXmlName &nb)
Signals the presence of the namespace declaration nb.
virtual void startDocument()
virtual void endDocument()
T * data() const
Returns a pointer to the shared data object.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void error(const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation)
virtual void atomicValue(const QVariant &value)
The namespace for the internal API of QtXmlPatterns.
virtual void item(const Item &item)=0
Sends an Item to this QAbstractXmlReceiver that may be a QXmlNodeModelIndex or an AtomicValue...
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
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
Contains functions used for formatting arguments, such as keywords and paths, in translated strings...
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 attribute(const QXmlName name, const QString &value)=0
Signals the presence of an attribute node.
virtual void endDocument()=0
virtual void item(const Item &item)
Sends an Item to this QAbstractXmlReceiver that may be a QXmlNodeModelIndex or an AtomicValue...
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...