|
| XPathExecutionContextDefault (XPathEnvSupport &theXPathEnvSupport, DOMSupport &theDOMSupport, XObjectFactory &theXObjectFactory, XalanNode *theCurrentNode=0, const NodeRefListBase *theContextNodeList=0, const PrefixResolver *thePrefixResolver=0) |
| Construct an XPathExecutionContextDefault object.
|
|
| XPathExecutionContextDefault (MemoryManager &theManager, XalanNode *theCurrentNode=0, const NodeRefListBase *theContextNodeList=0, const PrefixResolver *thePrefixResolver=0) |
| Construct an XPathExecutionContextDefault object.
|
|
virtual | ~XPathExecutionContextDefault () |
|
XPathEnvSupport * | getXPathEnvSupport () const |
| Get the XPathEnvSupport instance.
|
|
void | setXPathEnvSupport (XPathEnvSupport *theSupport) |
| Set the XPathEnvSupport instance.
|
|
void | setDOMSupport (DOMSupport *theDOMSupport) |
| Set the DOMSupport instance.
|
|
void | setXObjectFactory (XObjectFactory *theXObjectFactory) |
| Set the XObjectFactory instance.
|
|
XalanQNameByValue & | getScratchQName () const |
| Get a reference to the scratch QNameByValue instance.
|
|
virtual void | doFormatNumber (double number, const XalanDOMString &pattern, const XalanDecimalFormatSymbols *theDFS, XalanDOMString &theResult, const XalanNode *context=0, const Locator *locator=0) |
|
virtual void | reset () |
| Reset the instance.
|
|
virtual XalanNode * | getCurrentNode () const |
| Retrieve the node currently being executed.
|
|
virtual void | pushCurrentNode (XalanNode *theCurrentNode) |
| Change the node currently being executed.
|
|
virtual void | popCurrentNode () |
| Reset the node currently being executed.
|
|
virtual bool | isNodeAfter (const XalanNode &node1, const XalanNode &node2) const |
| Determine if a node is after another node, in document order.
|
|
virtual void | pushContextNodeList (const NodeRefListBase &theList) |
| Push the node list for current context.
|
|
virtual void | popContextNodeList () |
| Pop the node list for current context.
|
|
virtual const NodeRefListBase & | getContextNodeList () const |
| Get the node list for current context.
|
|
virtual size_type | getContextNodeListLength () const |
|
virtual size_type | getContextNodeListPosition (const XalanNode &contextNode) const |
|
virtual bool | elementAvailable (const XalanQName &theQName) const |
| Determine if an external element is available.
|
|
virtual bool | elementAvailable (const XalanDOMString &theName, const Locator *locator) const |
| Determine if an external element is available by resolving a string to a QName.
|
|
virtual bool | functionAvailable (const XalanQName &theQName) const |
| Determine if a function is available.
|
|
virtual bool | functionAvailable (const XalanDOMString &theName, const Locator *locator) const |
| Determine if a function is available.
|
|
virtual const XObjectPtr | extFunction (const XalanDOMString &theNamespace, const XalanDOMString &functionName, XalanNode *context, const XObjectArgVectorType &argVec, const Locator *locator) |
| Handle an extension function.
|
|
virtual XalanDocument * | parseXML (MemoryManager &theManager, const XalanDOMString &urlString, const XalanDOMString &base, ErrorHandler *theErrorHandler=0) const |
| Provides support for XML parsing service.
|
|
virtual MutableNodeRefList * | borrowMutableNodeRefList () |
| Borrow a cached MutableNodeRefList instance.
|
|
virtual bool | returnMutableNodeRefList (MutableNodeRefList *theList) |
| Return a previously borrowed MutableNodeRefList instance.
|
|
virtual MutableNodeRefList * | createMutableNodeRefList (MemoryManager &theManager) const |
| Create a MutableNodeRefList with the appropriate context.
|
|
virtual XalanDOMString & | getCachedString () |
| Get a cached string for temporary use.
|
|
virtual bool | releaseCachedString (XalanDOMString &theString) |
| Return a cached string.
|
|
virtual void | getNodeSetByKey (XalanNode *context, const XalanQName &qname, const XalanDOMString &ref, const Locator *locator, MutableNodeRefList &nodelist) |
| Given a valid element key, return the corresponding node list.
|
|
virtual void | getNodeSetByKey (XalanNode *context, const XalanDOMString &name, const XalanDOMString &ref, const Locator *locator, MutableNodeRefList &nodelist) |
| Given a valid element key, return the corresponding node list.
|
|
virtual const XObjectPtr | getVariable (const XalanQName &name, const Locator *locator=0) |
| Given a name, locate a variable in the current context, and return a pointer to the object.
|
|
virtual const PrefixResolver * | getPrefixResolver () const |
| Retrieve the resolver for namespaces.
|
|
virtual void | setPrefixResolver (const PrefixResolver *thePrefixResolver) |
| Change the resolver for namespaces.
|
|
virtual const XalanDOMString * | getNamespaceForPrefix (const XalanDOMString &prefix) const |
| Retrieve the URI corresponding to a namespace prefix.
|
|
virtual const XalanDOMString & | findURIFromDoc (const XalanDocument *owner) const |
| Given a DOM Document, tell what URI was used to parse it.
|
|
virtual const XalanDOMString & | getUnparsedEntityURI (const XalanDOMString &theName, const XalanDocument &theDocument) const |
| The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).
|
|
virtual XalanDocument * | getSourceDocument (const XalanDOMString &theURI) const |
| Get the document associated with the given URI.
|
|
virtual void | setSourceDocument (const XalanDOMString &theURI, XalanDocument *theDocument) |
| Associate a document with a given URI.
|
|
virtual void | formatNumber (double number, const XalanDOMString &pattern, XalanDOMString &theResult, const XalanNode *context=0, const Locator *locator=0) |
| Formats a number according to the specified pattern.
|
|
virtual void | formatNumber (double number, const XalanDOMString &pattern, const XalanDOMString &dfsName, XalanDOMString &theResult, const XalanNode *context=0, const Locator *locator=0) |
| Formats a number according to the specified pattern.
|
|
virtual void | problem (eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode) |
| Function that is called when a problem event occurs.
|
|
virtual void | problem (eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode) |
| Function that is called when a problem event occurs.
|
|
virtual void | error (const XalanDOMString &msg, const XalanNode *sourceNode=0, const Locator *locator=0) const |
|
virtual void | warn (const XalanDOMString &msg, const XalanNode *sourceNode=0, const Locator *locator=0) const |
|
virtual void | message (const XalanDOMString &msg, const XalanNode *sourceNode=0, const Locator *locator=0) const |
|
virtual bool | shouldStripSourceNode (const XalanText &node) |
| Determine if a text node should be stripped from the source tree, as if it weren't there.
|
|
| XPathExecutionContext (MemoryManager &theMemoryManager, XObjectFactory *theXObjectFactory=0) |
|
virtual | ~XPathExecutionContext () |
|
XObjectFactory & | getXObjectFactory () const |
| Retrieve the factory object for creating XObjects.
|
|
| ExecutionContext (MemoryManager &theMemoryManager) |
|
virtual | ~ExecutionContext () |
|
bool | hasPreserveOrStripSpaceConditions () const |
|
MemoryManager & | getMemoryManager () const |
|
MemoryManager & | getExceptionMemoryManager () const |
|
| ProblemListenerBase () |
|
virtual | ~ProblemListenerBase () |
|
A basic implementation of the class XPathExecutionContext.
Definition at line 64 of file XPathExecutionContextDefault.hpp.