|
virtual | ~DynamicContext () |
virtual DynamicContext * | createModuleDynamicContext (const DynamicContext *moduleCtx, xercesc::MemoryManager *memMgr=xercesc::XMLPlatformUtils::fgMemoryManager) const =0 |
virtual void | clearDynamicContext ()=0 |
| Resets the dynamic context, as if it had never been used.
|
virtual Item::Ptr | getContextItem () const =0 |
| Get the context Item.
|
virtual void | setContextItem (const Item::Ptr &item)=0 |
| Set the context item to item.
|
virtual size_t | getContextPosition () const =0 |
| Get the context position.
|
virtual void | setContextPosition (size_t pos)=0 |
| Set the context position.
|
virtual size_t | getContextSize () const =0 |
| Get the context size.
|
virtual void | setContextSize (size_t size)=0 |
| Set the context size.
|
virtual const VariableStore * | getVariableStore () const =0 |
| get the variable store
|
virtual void | setVariableStore (const VariableStore *store)=0 |
| set the variable store
|
virtual const VariableStore * | getGlobalVariableStore () const =0 |
| get the variable store for globally scoped variables
|
virtual void | setGlobalVariableStore (const VariableStore *store)=0 |
| set the variable store for globally scoped variables
|
virtual void | setExternalVariable (const XMLCh *namespaceURI, const XMLCh *name, const Result &value)=0 |
| set the value of an external global variable with the given uri/localname pair
|
virtual void | setExternalVariable (const XMLCh *qname, const Result &value)=0 |
| set the value of an external global variable with the given QName
|
virtual const RegexGroupStore * | getRegexGroupStore () const =0 |
| get the regex group store
|
virtual void | setRegexGroupStore (const RegexGroupStore *store)=0 |
| set the regex group store
|
virtual time_t | getCurrentTime () const =0 |
| Return the current time.
|
virtual void | setCurrentTime (time_t newTime)=0 |
| Set the current time.
|
virtual ATDurationOrDerived::Ptr | getImplicitTimezone () const =0 |
| Return the implicit timezone for this system.
|
virtual void | setImplicitTimezone (const ATDurationOrDerived::Ptr &timezoneAsDuration)=0 |
| Set the implicit timezone.
|
virtual void | registerURIResolver (URIResolver *resolver, bool adopt)=0 |
| Register a callback object for resolving URIs.
|
virtual URIResolver * | getDefaultURIResolver () const =0 |
| Returns the default URIResolver.
|
virtual void | setDefaultURIResolver (URIResolver *resolver, bool adopt)=0 |
| Sets the default URIResolver.
|
virtual void | setDebugListener (DebugListener *listener)=0 |
| Set the listener for debug messages.
|
virtual DebugListener * | getDebugListener () const =0 |
| Gets the listener for debug messages.
|
virtual void | setStackFrame (const StackFrame *frame)=0 |
| Sets the current stack frame whilst debugging.
|
virtual const StackFrame * | getStackFrame () const =0 |
| Gets the listener for debug messages.
|
virtual Node::Ptr | parseDocument (xercesc::InputSource &srcToUse, const LocationInfo *location=0, const QueryPathNode *projection=0)=0 |
| Parse an XML document from the provided InputSource.
|
virtual Sequence | resolveDocument (const XMLCh *uri, const LocationInfo *location=0, const QueryPathNode *projection=0)=0 |
| Resolve the given uri (and baseUri) to an XML document.
|
virtual Sequence | resolveCollection (const XMLCh *uri, const LocationInfo *location=0, const QueryPathNode *projection=0)=0 |
| Resolve the given uri (and baseUri) to a sequence of Node objects.
|
virtual Sequence | resolveDefaultCollection (const QueryPathNode *projection=0)=0 |
| Resolve the default collection to a sequence of Node objects.
|
virtual bool | putDocument (const Node::Ptr &document, const XMLCh *uri)=0 |
| Attempts to put the document specified to the given URI by calling the registered URIResolver objects.
|
virtual SequenceBuilder * | createSequenceBuilder () const =0 |
| Create a new SequenceBuilder, which is used to turn a stream of events into a Sequence.
|
virtual UpdateFactory * | createUpdateFactory () const =0 |
| Creates a new UpdateFactory, used for performing updates.
|
virtual void | testInterrupt () const =0 |
| Test if the query should be interrupted, and throw if so.
|
virtual | ~StaticContext () |
virtual DynamicContext * | createModuleContext (xercesc::MemoryManager *memMgr=xercesc::XMLPlatformUtils::fgMemoryManager) const =0 |
virtual DynamicContext * | createDynamicContext (xercesc::MemoryManager *memMgr=xercesc::XMLPlatformUtils::fgMemoryManager) const =0 |
virtual DynamicContext * | createDebugQueryContext (const Item::Ptr &contextItem, size_t contextPosition, size_t contextSize, const VariableStore *variables, const xercesc::DOMXPathNSResolver *nsResolver, const XMLCh *defaultElementNS, xercesc::MemoryManager *memMgr=xercesc::XMLPlatformUtils::fgMemoryManager) const =0 |
virtual XQillaConfiguration * | getConfiguration () const =0 |
| Returns the configuration object for this context.
|
virtual XQilla::Language | getLanguage () const =0 |
| Returns the lanuage that this context is for.
|
virtual ItemFactory * | getItemFactory () const =0 |
| Returns the ItemFactory for this context, which is used to create XQilla items and other objects.
|
virtual void | setItemFactory (ItemFactory *factory)=0 |
| Sets the ItemFactory for this context.
|
virtual const StaticType & | getContextItemType () const =0 |
| Get the static type of the context item.
|
virtual void | setContextItemType (const StaticType &st)=0 |
| Set the static type of the context item.
|
virtual bool | getXPath1CompatibilityMode () const =0 |
| Get the current XPath 1.0 compatibility mode.
|
virtual void | setXPath1CompatibilityMode (bool newMode)=0 |
| Set the current XPath 1.0 compatibility mode.
|
virtual const xercesc::DOMXPathNSResolver * | getNSResolver () const =0 |
| Get the NS resolver.
|
virtual const XMLCh * | getUriBoundToPrefix (const XMLCh *prefix, const LocationInfo *location=0) const =0 |
| returns the URI that is bound in prefix in the current scope or zero length string otherwise
|
virtual const XMLCh * | getPrefixBoundToUri (const XMLCh *uri) const =0 |
| returns the prefix that is bound in uri in the current scope or zero length string otherwise
|
virtual void | setNSResolver (const xercesc::DOMXPathNSResolver *resolver)=0 |
| Set the NS resolver.
|
virtual void | setNamespaceBinding (const XMLCh *prefix, const XMLCh *uri)=0 |
| Binds a prefix to a namespace URI.
|
virtual const XMLCh * | getDefaultElementAndTypeNS () const =0 |
| get the value of the default namespace for elements and types
|
virtual void | setDefaultElementAndTypeNS (const XMLCh *newNS)=0 |
| set the value of the default namespace for elements and types
|
virtual const XMLCh * | getDefaultFuncNS () const =0 |
| Return the default namespace for functions.
|
virtual void | setDefaultFuncNS (const XMLCh *newNS)=0 |
| Set the default namespace for functions.
|
virtual DocumentCache * | getDocumentCache () const =0 |
| retrieve the repository for the grammars
|
virtual void | setDocumentCache (DocumentCache *docCache)=0 |
| sets the repository for the grammars
|
virtual bool | isTypeOrDerivedFromType (const XMLCh *const uri, const XMLCh *const typeName, const XMLCh *const uriToCheck, const XMLCh *const typeNameToCheck) const =0 |
| returns true if the type represented by uri:typename is an instance of uriToCheck:typeNameToCheck
|
virtual void | setXMLEntityResolver (xercesc::XMLEntityResolver *const handler)=0 |
| Sets the XMLEntityResolver that is used by Xerces when it is used to parse documents.
|
virtual xercesc::XMLEntityResolver * | getXMLEntityResolver () const =0 |
| Returns the entity resolver currently set.
|
virtual void | setModuleResolver (ModuleResolver *resolver)=0 |
| Register a callback object for resolving module URIs.
|
virtual ModuleResolver * | getModuleResolver () const =0 |
| Returns the module resolver currently set.
|
virtual VectorOfStrings * | resolveModuleURI (const XMLCh *uri) const =0 |
virtual void | addSchemaLocation (const XMLCh *uri, VectorOfStrings *locations, const LocationInfo *location=0)=0 |
| add the location for the grammar of a specific namespace
|
virtual VariableTypeStore * | getVariableTypeStore ()=0 |
| get the variable type store
|
virtual void | addTemplate (XQUserFunction *tp)=0 |
| adds a template definition to the template tables
|
virtual const XQUserFunction * | lookUpNamedTemplate (const XMLCh *uri, const XMLCh *name) const =0 |
| look up a template definition by name
|
virtual const UserFunctions & | getTemplateRules () const =0 |
| Return a vector of all the templates with patterns.
|
virtual void | addCustomFunction (FuncFactory *func)=0 |
| adds a custom function to the function table
|
virtual void | removeCustomFunction (FuncFactory *func)=0 |
| removes a custom function to the function table
|
virtual ASTNode * | lookUpFunction (const XMLCh *uri, const XMLCh *name, const VectorOfASTNodes &v, const LocationInfo *location=0) const =0 |
| returns a function object with the given uri, localname and number of arguments triple
|
virtual void | setExternalFunctionResolver (ExternalFunctionResolver *resolver)=0 |
| Register a callback object for resolving external function implementations.
|
virtual ExternalFunctionResolver * | getExternalFunctionResolver () const =0 |
| Returns the external function resolver currently set.
|
virtual void | addExternalFunction (const ExternalFunction *func)=0 |
| adds an external function implementation to the function table
|
virtual const ExternalFunction * | lookUpExternalFunction (const XMLCh *uri, const XMLCh *name, size_t numArgs) const =0 |
| returns an external function implementation for the given uri and localname
|
virtual Collation * | getCollation (const XMLCh *const URI, const LocationInfo *location=0) const =0 |
| Get the implementation for the specified collation.
|
virtual void | addCollation (Collation *collation)=0 |
| Add a collation.
|
virtual Collation * | getDefaultCollation (const LocationInfo *location=0) const =0 |
| Get the default collation.
|
virtual void | setDefaultCollation (const XMLCh *const URI)=0 |
| Specify which collation is the default one.
|
virtual const XMLCh * | getBaseURI () const =0 |
| Return the base URI.
|
virtual void | setBaseURI (const XMLCh *newURI)=0 |
| Set the base URI.
|
virtual NodeSetOrdering | getNodeSetOrdering () const =0 |
| Return the ordering method for node sets.
|
virtual void | setNodeSetOrdering (NodeSetOrdering newOrder)=0 |
| Set the ordering method for node sets.
|
virtual ConstructionMode | getConstructionMode () const =0 |
| Return the construction mode.
|
virtual void | setConstructionMode (ConstructionMode newMode)=0 |
| Set the construction mode.
|
virtual void | setPreserveBoundarySpace (bool value)=0 |
| Set the policy for boundary space.
|
virtual bool | getPreserveBoundarySpace () const =0 |
| Get the policy for boundary space.
|
virtual FLWOROrderingMode | getDefaultFLWOROrderingMode () const =0 |
| Return the default ordering mode for FLWOR blocks.
|
virtual void | setDefaultFLWOROrderingMode (FLWOROrderingMode newMode)=0 |
| Set the default ordering mode for FLWOR blocks.
|
virtual void | setInheritNamespaces (bool value)=0 |
| Set the policy for namespace inheritance.
|
virtual bool | getInheritNamespaces () const =0 |
| Get the policy for namespace inheritance.
|
virtual void | setPreserveNamespaces (bool value)=0 |
| Set the policy for namespace copy.
|
virtual bool | getPreserveNamespaces () const =0 |
| Get the policy for namespace copy.
|
virtual void | setRevalidationMode (DocumentCache::ValidationMode mode)=0 |
| Set the revalidation mode.
|
virtual DocumentCache::ValidationMode | getRevalidationMode () const =0 |
| Get the revalidation mode.
|
virtual void | setMessageListener (MessageListener *listener)=0 |
| Set the listener for warning and trace messages.
|
virtual MessageListener * | getMessageListener () const =0 |
| Gets the listener for warning and trace messages.
|
virtual void | setModule (XQQuery *module)=0 |
| Set the module.
|
virtual XQQuery * | getModule () const =0 |
| Get the module.
|
virtual bool | getProjection () const =0 |
| Gets whether document projection is enabled.
|
virtual void | setProjection (bool enabled)=0 |
| Sets whether document projection is enabled.
|
virtual bool | getDoLintWarnings () const =0 |
virtual void | setDoLintWarnings (bool enabled)=0 |
virtual const XMLCh * | allocateTempVarName (const XMLCh *prefix=0)=0 |
| Return a unique name that can be used for a temporary variable.
|
virtual XPath2MemoryManager * | getMemoryManager () const =0 |
| Get the memory manager.
|
virtual void | setMemoryManager (XPath2MemoryManager *memMgr)=0 |
| Set the memory manager to the one given.
|
virtual void | setFTCase (FTCaseOption option)=0 |
| Set default full text query case option.
|
virtual FTCaseOption | getFTCase ()=0 |