55 #include <QAbstractMessageHandler> 56 #include <QAbstractUriResolver> 58 #include <QSourceLocation> 62 #include <QXmlNamePool> 157 genericStaticContext->setExternalVariableLoader(
variableLoader());
181 statContext->sourceLocations()));
185 dynContext->setNodeBuilder(nodeBuilder);
187 dynContext->setResourceLoader(statContext->resourceLoader());
188 dynContext->setExternalVariableLoader(statContext->externalVariableLoader());
192 dynContext->setOutputReceiver(
callback);
201 focus->setFocusIterator(it);
237 if(
m_expr && !queryDevice)
260 catch(
const QPatternist::Exception)
A DynamicContext supplying basic information that always is used.
static void callback(AuServer *, AuEventHandlerRec *, AuEvent *e, AuPointer p)
QPatternist::FunctionFactory::Ptr m_functionFactory
A DynamicContext that maintains the focus, a sequence of items.
#define QT_END_NAMESPACE
This macro expands to.
A StaticContext that carries a specified static type for the context item, but otherwise delegates to...
The central entry point for compiling expressions.
static const SequenceType::Ptr ZeroOrMoreItems
Handles requests for documents, and instantiates them as AccelTree instances.
#define it(className, varName)
QueryLanguage
Specifies whether you want QXmlQuery to interpret the input to setQuery() as an XQuery or as an XSLT ...
A smart pointer very similar to std::auto_ptr.
The QXmlItem class contains either an XML node or an atomic value.
Builds an AccelTree from a stream of XML/Item events received through the NodeBuilder interface...
int count(const T &t) const
Returns the number of occurrences of value in the list.
QPatternist::SequenceType::Ptr m_requiredType
void addAdditionalNamespaceBinding(const QXmlName &binding)
The QUrl class provides a convenient interface for working with URLs.
The QObject class is the base class of all Qt objects.
QPatternist::NetworkAccessDelegator::Ptr m_networkAccessDelegator
static FunctionFactory::Ptr xslt20Factory(const NamePool::Ptr &np)
The QXmlNamePool class is a table of shared strings referenced by instances of QXmlName.
QPatternist::SequenceType::Ptr requiredType()
QPatternist::VariableLoader::Ptr variableLoader()
QXmlName initialTemplateName
void append(const T &t)
Inserts value at the end of the list.
T * data() const
Returns a pointer to the shared data object.
The QAbstractUriResolver class is a callback interface for resolving Uniform Resource Identifiers...
#define QT_BEGIN_NAMESPACE
This macro expands to.
Delegates to another ResourceLoader, but in case a URI is in an exception list, it delegates to a dif...
QList< QXmlName > m_additionalNamespaceBindings
QPatternist::ReferenceCountedValue< QObject >::Ptr m_owner
const T & at(int i) const
Returns the item at index position i in the list.
The namespace for the internal API of QtXmlPatterns.
QExplicitlySharedDataPointer< VariableLoader > Ptr
QExplicitlySharedDataPointer< QPatternist::NamePool > d
QExplicitlySharedDataPointer< ExpressionFactory > Ptr
static const AnyNodeType::Ptr node
QExplicitlySharedDataPointer< Expression > Ptr
A smart pointer wrapping mutable Expression instances.
QPatternist::DeviceResourceLoader::Ptr m_resourceLoader
static FunctionFactory::Ptr xpath20Factory(const NamePool::Ptr &np)
QXmlQuery::QueryLanguage queryLanguage
QPatternist::ExpressionFactory::Ptr m_expressionFactory
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
The QAbstractXmlReceiver class provides a callback interface for transforming the output of a QXmlQue...
void setRequiredType(const QPatternist::SequenceType::Ptr &seqType)
QPatternist::StaticContext::Ptr m_staticContext
QPatternist::AccelTreeResourceLoader::Ptr resourceLoader()
static Item fromPublic(const QXmlItem &i)
QPointer< QNetworkAccessManager > userNetworkManager
void setExpressionFactory(const QPatternist::ExpressionFactory::Ptr &expr)
const QAbstractUriResolver * uriResolver
QPatternist::Expression::Ptr expression(QIODevice *const queryDevice=0)
void reset()
Resets this to be null.
QXmlQueryPrivate(const QXmlNamePool &np=QXmlNamePool())
QPointer< QAbstractMessageHandler > messageHandler
QExplicitlySharedDataPointer< StaticContext > Ptr
QExplicitlySharedDataPointer< ResourceLoader > Ptr
The QIODevice class is the base interface class of all I/O devices in Qt.
static ItemType::Ptr qtToXDMType(const QXmlItem &item)
QPatternist::GenericStaticContext::Ptr staticContext()
QPatternist::DynamicContext::Ptr dynamicContext(QAbstractXmlReceiver *const callback=0)
The QXmlQuery class performs XQueries on XML data, or on non-XML data modeled to look like XML...
bool isNull() const
Returns true if this QXmlItem is neither a node nor an atomic value.
QPatternist::Expression::Ptr m_expr
QPatternist::VariableLoader::Ptr m_variableLoader
Provides setters and getters for the properties defined in StaticContext.