#include <DynamicContext.hpp>
Inheritance diagram for DynamicContext:
Public Member Functions | |
virtual | ~DynamicContext () |
virtual void | incrementDocumentRefCount (const xercesc::DOMDocument *document) const =0 |
Register a new reference to the document. | |
virtual void | decrementDocumentRefCount (const xercesc::DOMDocument *document) const =0 |
Register a closed reference to the document. | |
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 void | setExternalContextNode (const xercesc::DOMNode *node)=0 |
Sets the context item to an external document. | |
virtual unsigned int | getContextPosition () const =0 |
Get the context position. | |
virtual void | setContextPosition (unsigned int pos)=0 |
Set the context position. | |
virtual unsigned int | getContextSize () const =0 |
Get the context size. | |
virtual void | setContextSize (unsigned int size)=0 |
Set the context size. | |
virtual VariableStore * | getVariableStore ()=0 |
get the variable 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)=0 |
Register a callback object for resolving URIs. | |
virtual Sequence | resolveDocument (const XMLCh *uri, const LocationInfo *location)=0 |
virtual Sequence | resolveCollection (const XMLCh *uri, const LocationInfo *location)=0 |
virtual Sequence | resolveDefaultCollection ()=0 |
virtual Node::Ptr | validate (const Node::Ptr &node, DocumentCache::ValidationMode valMode)=0 |
returns the validated node | |
virtual void | trace (const XMLCh *message1, const XMLCh *message2)=0 |
send a pair of strings to the "trace" data set | |
virtual void | setDebugCallback (XQDebugCallback *callback)=0 |
Set the object to be used for debugging callbacks. | |
virtual XQDebugCallback * | getDebugCallback () const =0 |
Get the object to be used for debugging callbacks. | |
virtual void | testInterrupt () const |
Test if the query should be interrupted, and throw if so. |
|
|
|
Resets the dynamic context, as if it had never been used.
|
|
Register a closed reference to the document.
|
|
Get the context Item.
|
|
Get the context position.
|
|
Get the context size.
|
|
Return the current time.
|
|
Get the object to be used for debugging callbacks.
|
|
Return the implicit timezone for this system.
|
|
get the variable store
|
|
Register a new reference to the document.
|
|
Register a callback object for resolving URIs. Multiple URIResolver objects can be registered with the DynamicContext at the same time. The most recently added URIResolver will be called first, and if it returns NULL, subsequent ones will be called - ending in a call to the fallback routines. The DynamicContext will not adopt this object, making the user responsible for making sure that the URIResolver object's lifespan matches or exceeds the life of the DynamicContext. |
|
|
|
|
|
|
|
Set the context item to item.
|
|
Set the context position.
|
|
Set the context size.
|
|
Set the current time.
|
|
Set the object to be used for debugging callbacks.
|
|
Sets the context item to an external document. This is needed so that the DOMDocument reference counting does not release the document that the node comes from. |
|
Set the implicit timezone.
|
|
Test if the query should be interrupted, and throw if so. This method has a default implementation of no-op. |
|
send a pair of strings to the "trace" data set
|
|
returns the validated node
|