74 nodeBuilder->endElement();
97 receiver->endElement();
120 for(
int i = 0; i < len; ++i)
157 return visitor->visit(
this);
virtual Expression::List operands() const
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from QAbstractXmlNodeM...
virtual void addNodeModel(const QAbstractXmlNodeModel::Ptr &nm)=0
A push interface for the XPath Data Model. Similar to SAX's ContentHandler.
#define QT_END_NAMESPACE
This macro expands to.
static const SequenceType::Ptr ZeroOrMoreItems
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
static const SequenceType::Ptr ExactlyOneQName
Constructs a namespace on an element, and naturally only appears as a child of ElementConstructor.
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
int count(const T &t) const
Returns the number of occurrences of value in the list.
QString prefix(const QXmlNamePool &query) const
Returns the prefix.
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
Contains a set of bindings, plus a pointer to another resolver which is delegates requests to...
virtual void evaluateToSequenceReceiver(const DynamicContext::Ptr &context) const
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
const TCastTarget * as() const
const T & at(int i) const
Returns the item at index position i in the list.
The namespace for the internal API of QtXmlPatterns.
virtual NamespaceResolver::Ptr namespaceBindings() const =0
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
virtual Expression::List operands() const =0
Receives QAbstractXmlReceiver events and validates that they are correct, before sending them on to a...
virtual SequenceType::Ptr staticType() const
NamespaceCode namespaceURI() const
virtual Properties properties() const
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.
Implements the value instance of the xs:QName type.
A StaticContext that carries a specified namespace resolver for the context item, but otherwise deleg...
DynamicContext::Ptr createReceiverContext(QAbstractXmlReceiver *const receiver)
Expression::Ptr m_operand1
virtual NodeBuilder::Ptr nodeBuilder(const QUrl &baseURI) const =0
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
virtual QAbstractXmlReceiver * outputReceiver() const =0
Expression::Ptr m_operand2
virtual SequenceType::List expectedOperandTypes() const
bool is(const ID id) const
static const SequenceType::Ptr ExactlyOneElement
virtual void evaluateToSequenceReceiver(const DynamicContext::Ptr &context) const
virtual QUrl baseURI() const =0
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
ElementConstructor(const Expression::Ptr &operand1, const Expression::Ptr &operand2, const bool isXSLT)
Base class for expressions that has exactly two operands.