54 , m_hasReceivedChildren(false)
55 , m_receiver(receiver)
86 m_context->
error(QtXmlPatterns::tr(
"It's not possible to add attributes after any other kind of node."),
The QVariant class acts like a union for the most common Qt data types.
const DynamicContext::Ptr m_context
virtual NamePool::Ptr namePool() const =0
virtual void characters(const QStringRef &value)
virtual void endOfSequence()
A push interface for the XPath Data Model. Similar to SAX's ContentHandler.
#define QT_END_NAMESPACE
This macro expands to.
QSet< QXmlName > m_attributes
virtual void namespaceBinding(const QXmlName &nb)=0
Signals the presence of the namespace declaration nb.
QString formatKeyword(const QString &keyword)
virtual void attribute(const QXmlName &name, const QStringRef &value)
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)
bool m_hasReceivedChildren
virtual void endElement()=0
Signals the end of the current element.
virtual void startOfSequence()
virtual void startDocument()
#define QT_BEGIN_NAMESPACE
This macro expands to.
void error(const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation)
virtual void processingInstruction(const QXmlName &name, const QString &value)
bool contains(const T &value) const
virtual void endDocument()
OutputValidator(QAbstractXmlReceiver *const receiver, const DynamicContext::Ptr &context, const SourceLocationReflection *const r, const bool isXSLT)
The namespace for the internal API of QtXmlPatterns.
QAbstractXmlReceiver *const m_receiver
const_iterator insert(const T &value)
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
virtual void atomicValue(const QVariant &value)
virtual void item(const Item &item)
Sends an Item to this QAbstractXmlReceiver that may be a QXmlNodeModelIndex or an AtomicValue...
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...
virtual void comment(const QString &value)
Represents an item in the XPath 2.0 Data Model.
virtual void endElement()
Signals the end of the current element.
virtual void attribute(const QXmlName name, const QString &value)=0
Signals the presence of an attribute node.
virtual void endDocument()=0
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
virtual void startElement(const QXmlName &name)
Base class for all instances that represents something at a certain location.
virtual void namespaceBinding(const QXmlName &nb)
Signals the presence of the namespace declaration nb.