60 , m_constructionMode(CMPreserve)
61 , m_functionFactory(factory)
62 , m_defaultFunctionNamespace(CommonNamespaces::
XFN)
63 , m_orderingEmptySequence(Greatest)
64 , m_orderingMode(Ordered)
67 , m_messageHandler(handler)
68 , m_preserveMode(Preserve)
69 , m_inheritMode(Inherit)
70 , m_namespaceResolver(lang ==
QXmlQuery::XQuery10
75 , m_queryLanguage(lang)
77 , m_compatModeEnabled(false)
113 "The static base-uri must be absolute. This error is most likely caused by misuing the API.");
308 "The reflection cannot be zero.");
A DynamicContext supplying basic information that always is used.
void setResourceLoader(const ResourceLoader::Ptr &loader)
virtual SchemaTypeFactory::Ptr schemaDefinitions() const
virtual QString defaultElementNamespace() const
static SchemaTypeFactory::Ptr self(const NamePool::Ptr &np)
virtual StaticContext::Ptr copy() const
#define QT_END_NAMESPACE
This macro expands to.
const char *const UNICODE_COLLATION
virtual void setBaseURI(const QUrl &uri)
void setExternalVariableLoader(const ExternalVariableLoader::Ptr &loader)
virtual FunctionFactory::Ptr functionSignatures() const
virtual ItemType::Ptr contextItemType() const
The static type of the context item.
QueryLanguage
Specifies whether you want QXmlQuery to interpret the input to setQuery() as an XQuery or as an XSLT ...
ItemType::Ptr m_contextItemType
virtual QAbstractUriResolver * uriResolver() const
The URI resolver in use.
virtual OrderingEmptySequence orderingEmptySequence() const
virtual const SourceLocationReflection * actualReflection() const =0
QString m_defaultFunctionNamespace
virtual bool compatModeEnabled() const
BoundarySpacePolicy m_boundarySpacePolicy
virtual void setInheritMode(const InheritMode mode)
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
The QHash class is a template class that provides a hash-table-based dictionary.
QAbstractMessageHandler * m_messageHandler
virtual ConstructionMode constructionMode() const
virtual void addLocation(const SourceLocationReflection *const reflection, const QSourceLocation &location)
Adds location for reflection.
bool isRelative() const
Returns true if the URL is relative; otherwise returns false.
virtual void setPreserveMode(const PreserveMode mode)
const T value(const Key &key) const
Returns the value associated with the key.
QXmlQuery::QueryLanguage m_queryLanguage
ResourceLoader::Ptr m_resourceLoader
virtual VariableSlotID currentRangeSlot() const
void reserve(int size)
Ensures that the QHash's internal hash table consists of at least size buckets.
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
virtual DynamicContext::Ptr dynamicContext() const
virtual ItemType::Ptr currentItemType() const
The static type of the current item, as returned by fn:current().
virtual BoundarySpacePolicy boundarySpacePolicy() const
const NamePool::Ptr m_namePool
bool isNull() const
Returns true if this QSourceLocation doesn't identify anything.
virtual OrderingMode orderingMode() const
virtual void setOrderingEmptySequence(const OrderingEmptySequence ordering)
virtual NamePool::Ptr namePool() const
The QAbstractUriResolver class is a callback interface for resolving Uniform Resource Identifiers...
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual QUrl baseURI() const
PreserveMode m_preserveMode
virtual InheritMode inheritMode() const
QString m_defaultElementNamespace
const QLatin1String XFN("http://www.w3.org/2005/xpath-functions")
The namespace for the internal API of QtXmlPatterns.
The QSourceLocation class identifies a location in a resource by URI, line, and column.
OrderingMode m_orderingMode
virtual LocationHash sourceLocations() const
Returns a hash of the contained locations.
virtual VariableSlotID allocateRangeSlot()
virtual QString defaultFunctionNamespace() const
NamespaceResolver::Ptr m_namespaceResolver
virtual QSourceLocation locationFor(const SourceLocationReflection *const reflection) const
Returns the source location applying for reflection.
virtual PreserveMode preserveMode() const
InheritMode m_inheritMode
FunctionFactory::Ptr m_functionFactory
#define Q_ASSERT_X(cond, where, what)
void setContextItemType(const ItemType::Ptr &type)
The QAbstractMessageHandler class provides a callback interface for handling messages.
virtual ResourceLoader::Ptr resourceLoader() const
OrderingEmptySequence m_orderingEmptySequence
ExternalVariableLoader::Ptr m_externalVariableLoader
GenericStaticContext(const NamePool::Ptr &np, QAbstractMessageHandler *const errorHandler, const QUrl &aBaseURI, const FunctionFactory::Ptr &factory, const QXmlQuery::QueryLanguage lang)
QAbstractUriResolver * m_uriResolver
static QTestResult::TestLocation location
virtual void setConstructionMode(const ConstructionMode mode)
virtual void setDefaultCollation(const QUrl &uri)
virtual QAbstractMessageHandler * messageHandler() const
virtual void setBoundarySpacePolicy(const BoundarySpacePolicy policy)
virtual void setNamespaceBindings(const NamespaceResolver::Ptr &)
virtual ExternalVariableLoader::Ptr externalVariableLoader() const
Generic namespace resolver which resolves lookups against entries in a QHash.
virtual void setDefaultElementNamespace(const QString &ns)
virtual Bindings bindings() const =0
QExplicitlySharedDataPointer< StaticContext > Ptr
virtual void setOrderingMode(const OrderingMode mode)
QImageIOHandler * handler
virtual void setDefaultFunctionNamespace(const QString &ns)
ConstructionMode m_constructionMode
virtual QUrl defaultCollation() const
virtual NamespaceResolver::Ptr namespaceBindings() const
VariableSlotID m_rangeSlot
The QXmlQuery class performs XQueries on XML data, or on non-XML data modeled to look like XML...
virtual void setCompatModeEnabled(const bool newVal)
Base class for all instances that represents something at a certain location.
Provides setters and getters for the properties defined in StaticContext.