Qt 4.8
|
A StaticContext that carries a specified static type for the context item, but otherwise delegates to another StaticContext. More...
#include <qstaticfocuscontext_p.h>
Public Functions | |
virtual ItemType::Ptr | contextItemType () const |
StaticFocusContext (const ItemType::Ptr &contextItemType, const StaticContext::Ptr &context) | |
Public Functions inherited from QPatternist::DelegatingStaticContext | |
virtual void | addLocation (const SourceLocationReflection *const reflection, const QSourceLocation &location) |
Adds location for reflection . More... | |
virtual VariableSlotID | allocateRangeSlot () |
virtual QUrl | baseURI () const |
virtual BoundarySpacePolicy | boundarySpacePolicy () const |
virtual bool | compatModeEnabled () const |
virtual ConstructionMode | constructionMode () const |
virtual StaticContext::Ptr | copy () const |
virtual ItemType::Ptr | currentItemType () const |
The static type of the current item, as returned by fn:current() . More... | |
virtual VariableSlotID | currentRangeSlot () const |
virtual QUrl | defaultCollation () const |
virtual QString | defaultElementNamespace () const |
virtual QString | defaultFunctionNamespace () const |
virtual DynamicContext::Ptr | dynamicContext () const |
virtual ExternalVariableLoader::Ptr | externalVariableLoader () const |
virtual FunctionFactory::Ptr | functionSignatures () const |
virtual InheritMode | inheritMode () const |
virtual QSourceLocation | locationFor (const SourceLocationReflection *const reflection) const |
Returns the source location applying for reflection . More... | |
virtual QAbstractMessageHandler * | messageHandler () const |
virtual NamePool::Ptr | namePool () const |
virtual NamespaceResolver::Ptr | namespaceBindings () const |
virtual OrderingEmptySequence | orderingEmptySequence () const |
virtual OrderingMode | orderingMode () const |
virtual PreserveMode | preserveMode () const |
virtual ResourceLoader::Ptr | resourceLoader () const |
virtual SchemaTypeFactory::Ptr | schemaDefinitions () const |
virtual void | setBaseURI (const QUrl &uri) |
virtual void | setBoundarySpacePolicy (const BoundarySpacePolicy policy) |
virtual void | setCompatModeEnabled (const bool newVal) |
virtual void | setConstructionMode (const ConstructionMode mode) |
virtual void | setDefaultCollation (const QUrl &uri) |
virtual void | setDefaultElementNamespace (const QString &ns) |
virtual void | setDefaultFunctionNamespace (const QString &ns) |
virtual void | setInheritMode (const InheritMode mode) |
virtual void | setNamespaceBindings (const NamespaceResolver::Ptr &) |
virtual void | setOrderingEmptySequence (const OrderingEmptySequence ordering) |
virtual void | setOrderingMode (const OrderingMode mode) |
virtual void | setPreserveMode (const PreserveMode mode) |
virtual LocationHash | sourceLocations () const |
Returns a hash of the contained locations. More... | |
virtual const QAbstractUriResolver * | uriResolver () const |
The URI resolver in use. More... | |
Public Functions inherited from QPatternist::StaticContext | |
StaticContext () | |
void | wrapExpressionWith (const SourceLocationReflection *const existingNode, const QExplicitlySharedDataPointer< Expression > &newNode) |
Ensures source locations are handled in such a manner that existingNode wraps newNode . More... | |
virtual | ~StaticContext () |
Public Functions inherited from QPatternist::ReportContext | |
void | error (const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation) |
void | error (const QString &message, const ReportContext::ErrorCode errorCode, const SourceLocationReflection *const reflection) |
void | error (const QString &message, const QXmlName qName, const SourceLocationReflection *const r) |
ReportContext () | |
Default constructors. More... | |
QUrl | resolveURI (const QUrl &relative, const QUrl &baseURI) const |
void | warning (const QString &message, const QSourceLocation &sourceLocation=QSourceLocation()) |
virtual | ~ReportContext () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Properties | |
const ItemType::Ptr | m_contextItemType |
A StaticContext that carries a specified static type for the context item, but otherwise delegates to another StaticContext.
Definition at line 69 of file qstaticfocuscontext_p.h.
StaticFocusContext::StaticFocusContext | ( | const ItemType::Ptr & | contextItemType, |
const StaticContext::Ptr & | context | ||
) |
contextItemType
may be null
.
Definition at line 48 of file qstaticfocuscontext.cpp.
|
virtual |
Reimplemented from QPatternist::DelegatingStaticContext.
Definition at line 54 of file qstaticfocuscontext.cpp.
|
private |
Definition at line 83 of file qstaticfocuscontext_p.h.
Referenced by contextItemType().