16 #if !defined(XPATHEXECUTIONCONTEXT_HEADER_GUARD_1357924680)
17 #define XPATHEXECUTIONCONTEXT_HEADER_GUARD_1357924680
50 XALAN_CPP_NAMESPACE_BEGIN
99 getCurrentNode()
const = 0;
107 pushCurrentNode(
XalanNode* theCurrentNode) = 0;
113 popCurrentNode() = 0;
122 m_executionContext(theExecutionContext)
129 m_executionContext.popCurrentNode();
143 getXObjectFactory()
const
145 assert(m_xobjectFactory != 0);
147 return *m_xobjectFactory;
174 popContextNodeList() = 0;
183 m_executionContext(theExecutionContext)
185 m_executionContext.pushContextNodeList(theNodeList);
190 m_executionContext.popContextNodeList();
204 getContextNodeList()
const = 0;
212 getContextNodeListLength()
const = 0;
222 getContextNodeListPosition(
const XalanNode& contextNode)
const = 0;
232 elementAvailable(
const XalanQName& theQName)
const = 0;
256 functionAvailable(
const XalanQName& theQName)
const = 0;
286 const XObjectArgVectorType& argVec,
308 borrowMutableNodeRefList() = 0;
324 m_xpathExecutionContext(&executionContext),
325 m_mutableNodeRefList(executionContext.borrowMutableNodeRefList())
327 assert(m_mutableNodeRefList != 0);
332 m_xpathExecutionContext(theSource.m_xpathExecutionContext),
333 m_mutableNodeRefList(theSource.m_mutableNodeRefList)
335 assert(m_mutableNodeRefList != 0);
348 assert(m_mutableNodeRefList != 0);
350 return *m_mutableNodeRefList;
356 return m_mutableNodeRefList;
368 assert(m_xpathExecutionContext != 0);
370 if (m_mutableNodeRefList != 0)
372 m_xpathExecutionContext->returnMutableNodeRefList(m_mutableNodeRefList);
374 m_mutableNodeRefList = 0;
381 assert(m_xpathExecutionContext != 0);
385 *theResult = *m_mutableNodeRefList;
396 m_xpathExecutionContext = theRHS.m_xpathExecutionContext;
398 m_mutableNodeRefList = theRHS.m_mutableNodeRefList;
400 theRHS.m_mutableNodeRefList = 0;
418 getCachedString() = 0;
435 m_executionContext(&theExecutionContext),
436 m_string(&theExecutionContext.getCachedString())
442 m_executionContext(theSource.m_executionContext),
443 m_string(theSource.m_string)
445 theSource.m_string = 0;
452 m_executionContext->releaseCachedString(*m_string);
459 assert(m_string != 0);
465 getExecutionContext()
const
467 return *m_executionContext;
549 getPrefixResolver()
const = 0;
566 m_executionContext(theExecutionContext),
567 m_savedResolver(theExecutionContext.getPrefixResolver())
569 m_executionContext.setPrefixResolver(theResolver);
576 m_executionContext(theExecutionContext),
577 m_savedResolver(theOldResolver)
579 m_executionContext.setPrefixResolver(theNewResolver);
584 m_executionContext.setPrefixResolver(m_savedResolver);
623 getUnparsedEntityURI(
638 shouldStripSourceNode(
const XalanText& node) = 0;
669 virtual void formatNumber(
687 virtual void formatNumber(
722 XALAN_CPP_NAMESPACE_END
726 #endif // XPATHEXECUTIONCONTEXT_HEADER_GUARD_1357924680