blob: 444d19496bf1c1a75857dd270c5c684184f3664e [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Xalan-C++ API : Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<!-- The head section is copied from Doxygen 1.7.1 generated default output -->
<body>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center"><a href="../index.html">The Xalan C++ XSLT Processor Version 1.11</a></h3>
<hr/>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> </div>
<div class="headertitle">
<h1>XPathEvaluator Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XPathEvaluator" -->
<p><code>#include &lt;<a class="el" href="XPathEvaluator_8hpp_source.html">XPathEvaluator.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for XPathEvaluator:</div>
<div class="dyncontent">
<div class="center"><img src="classXPathEvaluator__coll__graph.png" border="0" usemap="#XPathEvaluator_coll__map" alt="Collaboration graph"/></div>
<map name="XPathEvaluator_coll__map" id="XPathEvaluator_coll__map">
<area shape="rect" id="node2" href="classXalanMemMgrAutoPtr.html" title="XalanMemMgrAutoPtr\&lt; XPathFactoryDefault \&gt;" alt="" coords="553,5,876,35"/><area shape="rect" id="node4" href="classXalanMemMgrAutoPtr_1_1MemMgrAutoPtrData.html" title="XalanMemMgrAutoPtr\&lt; Type \&gt;::MemMgrAutoPtrData" alt="" coords="5,85,371,115"/><area shape="rect" id="node6" href="classXalanMemMgrAutoPtr.html" title="XalanMemMgrAutoPtr\&lt; XObjectFactory \&gt;" alt="" coords="569,59,860,88"/><area shape="rect" id="node9" href="classXalanMemMgrAutoPtr.html" title="XalanMemMgrAutoPtr\&lt; XPathConstructionContextDefault \&gt;" alt="" coords="511,112,919,141"/><area shape="rect" id="node12" href="classXalanMemMgrAutoPtr.html" title="XalanMemMgrAutoPtr\&lt; XPathExecutionContextDefault \&gt;" alt="" coords="520,165,909,195"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXPathEvaluator-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXPathEvaluator.html#a3011c1b9644b198dbe405ca3d563b77d">XPathEvaluator</a> (MemoryManager &amp;theManager=XalanMemMgrs::getDefaultXercesMemMgr())
<li><a class="el" href="classXPathEvaluator.html#ab17a55e4f04ef72b40ee75a7286f1b2b">~XPathEvaluator</a> ()
<li><a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="classXPathEvaluator.html#ade055695cfea26325f140da8c7b32c47">selectSingleNode</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const XalanDOMChar *xpathString, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode=0)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. <a href="#ade055695cfea26325f140da8c7b32c47"></a><br/></dl><li><a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="classXPathEvaluator.html#a93bb17af14c49ef740f14d3c5e999236">selectSingleNode</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const XalanDOMChar *xpathString, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;prefixResolver)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. <a href="#a93bb17af14c49ef740f14d3c5e999236"></a><br/></dl><li><a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="classXPathEvaluator.html#ad254891230566ca1187878a8d6429913">selectSingleNode</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &amp;xpath, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode=0)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. <a href="#ad254891230566ca1187878a8d6429913"></a><br/></dl><li><a class="el" href="classXalanNode.html">XalanNode</a> * <a class="el" href="classXPathEvaluator.html#a7a77e98bcd750e69da12f7a3e9d669ec">selectSingleNode</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &amp;xpath, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;prefixResolver)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. <a href="#a7a77e98bcd750e69da12f7a3e9d669ec"></a><br/></dl><li><a class="el" href="classNodeRefList.html">NodeRefList</a> &amp; <a class="el" href="classXPathEvaluator.html#ae6986df59491462ab498937a02cf31b9">selectNodeList</a> (<a class="el" href="classNodeRefList.html">NodeRefList</a> &amp;result, <a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const XalanDOMChar *xpathString, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode=0)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. <a href="#ae6986df59491462ab498937a02cf31b9"></a><br/></dl><li><a class="el" href="classNodeRefList.html">NodeRefList</a> &amp; <a class="el" href="classXPathEvaluator.html#a33f10838bff76795d4e30aba09aaa89b">selectNodeList</a> (<a class="el" href="classNodeRefList.html">NodeRefList</a> &amp;result, <a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const XalanDOMChar *xpathString, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;prefixResolver)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. <a href="#a33f10838bff76795d4e30aba09aaa89b"></a><br/></dl><li><a class="el" href="classNodeRefList.html">NodeRefList</a> &amp; <a class="el" href="classXPathEvaluator.html#a8d59458b460e26cd3d99c4078dc2e556">selectNodeList</a> (<a class="el" href="classNodeRefList.html">NodeRefList</a> &amp;result, <a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &amp;xpath, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode=0)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. <a href="#a8d59458b460e26cd3d99c4078dc2e556"></a><br/></dl><li><a class="el" href="classNodeRefList.html">NodeRefList</a> &amp; <a class="el" href="classXPathEvaluator.html#a1babdeed573da40bb9fc2c6221ba213c">selectNodeList</a> (<a class="el" href="classNodeRefList.html">NodeRefList</a> &amp;result, <a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &amp;xpath, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;prefixResolver)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. <a href="#a1babdeed573da40bb9fc2c6221ba213c"></a><br/></dl><li><a class="el" href="classXObjectPtr.html">XObjectPtr</a> <a class="el" href="classXPathEvaluator.html#ab12d89bd66feca61fdaa8559200a8252">evaluate</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const XalanDOMChar *xpathString, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode=0)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. <a href="#ab12d89bd66feca61fdaa8559200a8252"></a><br/></dl><li><a class="el" href="classXObjectPtr.html">XObjectPtr</a> <a class="el" href="classXPathEvaluator.html#a6961643124acdbf8b1de3ebaab0c61f9">evaluate</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const XalanDOMChar *xpathString, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;prefixResolver)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. <a href="#a6961643124acdbf8b1de3ebaab0c61f9"></a><br/></dl><li><a class="el" href="classXObjectPtr.html">XObjectPtr</a> <a class="el" href="classXPathEvaluator.html#a080e7f1873b14d039e2419cd48d1f6db">evaluate</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &amp;xpath, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode=0)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. <a href="#a080e7f1873b14d039e2419cd48d1f6db"></a><br/></dl><li><a class="el" href="classXObjectPtr.html">XObjectPtr</a> <a class="el" href="classXPathEvaluator.html#ad2b2278c2f27bf4057889309a6a6e8c9">evaluate</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &amp;xpath, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;prefixResolver)
<dl class="el"><dd class="mdescRight">Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. <a href="#ad2b2278c2f27bf4057889309a6a6e8c9"></a><br/></dl><li><a class="el" href="classXPath.html">XPath</a> * <a class="el" href="classXPathEvaluator.html#a157f14536ca20488f9b0c7f1e448864c">createXPath</a> (const XalanDOMChar *xpathString)
<dl class="el"><dd class="mdescRight">Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times. <a href="#a157f14536ca20488f9b0c7f1e448864c"></a><br/></dl><li><a class="el" href="classXPath.html">XPath</a> * <a class="el" href="classXPathEvaluator.html#a9f45cd635d2a3623ee4573d2fa6e6ceb">createXPath</a> (const XalanDOMChar *xpathString, <a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;domSupport, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode)
<dl class="el"><dd class="mdescRight">Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times. <a href="#a9f45cd635d2a3623ee4573d2fa6e6ceb"></a><br/></dl><li><a class="el" href="classXPath.html">XPath</a> * <a class="el" href="classXPathEvaluator.html#a6acd78d4f58b877168ffc1bbd564f326">createXPath</a> (const XalanDOMChar *xpathString, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;prefixResolver)
<dl class="el"><dd class="mdescRight">Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times. <a href="#a6acd78d4f58b877168ffc1bbd564f326"></a><br/></dl><li>bool <a class="el" href="classXPathEvaluator.html#a46bfd15641706c16451537a1d25dde77">destroyXPath</a> (<a class="el" href="classXPath.html">XPath</a> *theXPath)
<dl class="el"><dd class="mdescRight">Destory a compiled <a class="el" href="classXPath.html">XPath</a> instance. <a href="#a46bfd15641706c16451537a1d25dde77"></a><br/></dl><li><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp; <a class="el" href="classXPathEvaluator.html#af7ca370f564602f21ae9225b5875cda6">getExecutionContext</a> ()
</ul>
<h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2>
<ul>
<li>static void <a class="el" href="classXPathEvaluator.html#aa5f260495acab2ed8872b3cf53486598">initialize</a> (MemoryManager &amp;theManager=XalanMemMgrs::getDefaultXercesMemMgr())
<li>static void <a class="el" href="classXPathEvaluator.html#a4cf456fe56ced02779762215e6bd6bc6">terminate</a> ()
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="XPathEvaluator_8hpp_source.html#l00069">69</a> of file <a class="el" href="XPathEvaluator_8hpp_source.html">XPathEvaluator.hpp</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3011c1b9644b198dbe405ca3d563b77d"></a><!-- doxytag: member="XPathEvaluator::XPathEvaluator" ref="a3011c1b9644b198dbe405ca3d563b77d" args="(MemoryManager &amp;theManager=XalanMemMgrs::getDefaultXercesMemMgr())" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XPathEvaluator::XPathEvaluator </td>
<td>(</td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theManager</em> = <code>XalanMemMgrs::getDefaultXercesMemMgr()</code></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ab17a55e4f04ef72b40ee75a7286f1b2b"></a><!-- doxytag: member="XPathEvaluator::~XPathEvaluator" ref="ab17a55e4f04ef72b40ee75a7286f1b2b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XPathEvaluator::~XPathEvaluator </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a157f14536ca20488f9b0c7f1e448864c"></a><!-- doxytag: member="XPathEvaluator::createXPath" ref="a157f14536ca20488f9b0c7f1e448864c" args="(const XalanDOMChar *xpathString)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXPath.html">XPath</a>* XPathEvaluator::createXPath </td>
<td>(</td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>xpathString</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times. </p>
<p>Call <a class="el" href="classXPathEvaluator.html#a46bfd15641706c16451537a1d25dde77" title="Destory a compiled XPath instance.">destroyXPath()</a> when finished with the instance. Otherwise, the object will be destroyed when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> instance goes out of scope. Since no <a class="el" href="classPrefixResolver.html" title="This class defines an interface for classes that resolve namespace prefixes to their URIs...">PrefixResolver</a> is supplied, the <a class="el" href="classXPath.html">XPath</a> expression may not contain any namespace prefixes.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>xpathString</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to an <a class="el" href="classXPath.html">XPath</a> instance. </dd></dl>
</div>
</div>
<a class="anchor" id="a9f45cd635d2a3623ee4573d2fa6e6ceb"></a><!-- doxytag: member="XPathEvaluator::createXPath" ref="a9f45cd635d2a3623ee4573d2fa6e6ceb" args="(const XalanDOMChar *xpathString, DOMSupport &amp;domSupport, const XalanElement *namespaceNode)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXPath.html">XPath</a>* XPathEvaluator::createXPath </td>
<td>(</td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>xpathString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanElement.html">XalanElement</a> *&nbsp;</td>
<td class="paramname"> <em>namespaceNode</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times. </p>
<p>Call <a class="el" href="classXPathEvaluator.html#a46bfd15641706c16451537a1d25dde77" title="Destory a compiled XPath instance.">destroyXPath()</a> when finished with the instance. Otherwise, the object will be destroyed when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> instance goes out of scope.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>xpathString</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr>
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>namespaceNode</em>&nbsp;</td><td>A node to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to an <a class="el" href="classXPath.html">XPath</a> instance. </dd></dl>
</div>
</div>
<a class="anchor" id="a6acd78d4f58b877168ffc1bbd564f326"></a><!-- doxytag: member="XPathEvaluator::createXPath" ref="a6acd78d4f58b877168ffc1bbd564f326" args="(const XalanDOMChar *xpathString, const PrefixResolver &amp;prefixResolver)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXPath.html">XPath</a>* XPathEvaluator::createXPath </td>
<td>(</td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>xpathString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>prefixResolver</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times. </p>
<p>Call <a class="el" href="classXPathEvaluator.html#a46bfd15641706c16451537a1d25dde77" title="Destory a compiled XPath instance.">destroyXPath()</a> when finished with the instance. Otherwise, the object will be destroyed when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> instance goes out of scope.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>xpathString</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixResolver</em>&nbsp;</td><td>A prefix resolver instance to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to an <a class="el" href="classXPath.html">XPath</a> instance. </dd></dl>
</div>
</div>
<a class="anchor" id="a46bfd15641706c16451537a1d25dde77"></a><!-- doxytag: member="XPathEvaluator::destroyXPath" ref="a46bfd15641706c16451537a1d25dde77" args="(XPath *theXPath)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool XPathEvaluator::destroyXPath </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPath.html">XPath</a> *&nbsp;</td>
<td class="paramname"> <em>theXPath</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destory a compiled <a class="el" href="classXPath.html">XPath</a> instance. </p>
<p>The instance must have been created using <a class="el" href="classXPathEvaluator.html#a157f14536ca20488f9b0c7f1e448864c" title="Compile an XPath expression into an object which can be used multiple times.">createXPath()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theXPath</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> instance to destroy </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the instance was successfully destroyed </dd></dl>
</div>
</div>
<a class="anchor" id="ab12d89bd66feca61fdaa8559200a8252"></a><!-- doxytag: member="XPathEvaluator::evaluate" ref="ab12d89bd66feca61fdaa8559200a8252" args="(DOMSupport &amp;domSupport, XalanNode *contextNode, const XalanDOMChar *xpathString, const XalanElement *namespaceNode=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXObjectPtr.html">XObjectPtr</a> XPathEvaluator::evaluate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>xpathString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanElement.html">XalanElement</a> *&nbsp;</td>
<td class="paramname"> <em>namespaceNode</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. </p>
<p>The result is returned as a generalized object. The object will be destroyed when the user's copy of the returned <a class="el" href="classXObjectPtr.html" title="Class to hold XObjectPtr return types.">XObjectPtr</a> goes out of scope, or when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> goes out of scope or another expression is evaluated.</p>
<p>The user's <a class="el" href="classXObjectPtr.html" title="Class to hold XObjectPtr return types.">XObjectPtr</a> copy _must_ no longer be in scope when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> instance goes out of scope, or another expression is evaluated.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpathString</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr>
<tr><td valign="top"></td><td valign="top"><em>namespaceNode</em>&nbsp;</td><td>A node to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The result of evaluting the <a class="el" href="classXPath.html">XPath</a> expression. </dd></dl>
</div>
</div>
<a class="anchor" id="ad2b2278c2f27bf4057889309a6a6e8c9"></a><!-- doxytag: member="XPathEvaluator::evaluate" ref="ad2b2278c2f27bf4057889309a6a6e8c9" args="(DOMSupport &amp;domSupport, XalanNode *contextNode, const XPath &amp;xpath, const PrefixResolver &amp;prefixResolver)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXObjectPtr.html">XObjectPtr</a> XPathEvaluator::evaluate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> &amp;&nbsp;</td>
<td class="paramname"> <em>xpath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>prefixResolver</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. </p>
<p>The result is returned as a generalized object. The object will be destroyed when the user's copy of the returned <a class="el" href="classXObjectPtr.html" title="Class to hold XObjectPtr return types.">XObjectPtr</a> goes out of scope, or when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> goes out of scope or another expression is evaluated.</p>
<p>The user's <a class="el" href="classXObjectPtr.html" title="Class to hold XObjectPtr return types.">XObjectPtr</a> copy _must_ no longer be in scope when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> instance goes out of scope, or another expression is evaluated.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpath</em>&nbsp;</td><td>A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixResolver</em>&nbsp;</td><td>A prefix resolver instance to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The result of evaluting the <a class="el" href="classXPath.html">XPath</a> expression. </dd></dl>
</div>
</div>
<a class="anchor" id="a080e7f1873b14d039e2419cd48d1f6db"></a><!-- doxytag: member="XPathEvaluator::evaluate" ref="a080e7f1873b14d039e2419cd48d1f6db" args="(DOMSupport &amp;domSupport, XalanNode *contextNode, const XPath &amp;xpath, const XalanElement *namespaceNode=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXObjectPtr.html">XObjectPtr</a> XPathEvaluator::evaluate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> &amp;&nbsp;</td>
<td class="paramname"> <em>xpath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanElement.html">XalanElement</a> *&nbsp;</td>
<td class="paramname"> <em>namespaceNode</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. </p>
<p>The result is returned as a generalized object. The object will be destroyed when the user's copy of the returned <a class="el" href="classXObjectPtr.html" title="Class to hold XObjectPtr return types.">XObjectPtr</a> goes out of scope, or when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> goes out of scope or another expression is evaluated.</p>
<p>The user's <a class="el" href="classXObjectPtr.html" title="Class to hold XObjectPtr return types.">XObjectPtr</a> copy _must_ no longer be in scope when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> instance goes out of scope, or another expression is evaluated.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpath</em>&nbsp;</td><td>A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>namespaceNode</em>&nbsp;</td><td>A node to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The result of evaluting the <a class="el" href="classXPath.html">XPath</a> expression. </dd></dl>
</div>
</div>
<a class="anchor" id="a6961643124acdbf8b1de3ebaab0c61f9"></a><!-- doxytag: member="XPathEvaluator::evaluate" ref="a6961643124acdbf8b1de3ebaab0c61f9" args="(DOMSupport &amp;domSupport, XalanNode *contextNode, const XalanDOMChar *xpathString, const PrefixResolver &amp;prefixResolver)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXObjectPtr.html">XObjectPtr</a> XPathEvaluator::evaluate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>xpathString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>prefixResolver</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. </p>
<p>The result is returned as a generalized object. The object will be destroyed when the user's copy of the returned <a class="el" href="classXObjectPtr.html" title="Class to hold XObjectPtr return types.">XObjectPtr</a> goes out of scope, or when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> goes out of scope or another expression is evaluated.</p>
<p>The user's <a class="el" href="classXObjectPtr.html" title="Class to hold XObjectPtr return types.">XObjectPtr</a> copy _must_ no longer be in scope when the <a class="el" href="classXPathEvaluator.html">XPathEvaluator</a> instance goes out of scope, or another expression is evaluated.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpathString</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixResolver</em>&nbsp;</td><td>A prefix resolver instance to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The result of evaluting the <a class="el" href="classXPath.html">XPath</a> expression. </dd></dl>
</div>
</div>
<a class="anchor" id="af7ca370f564602f21ae9225b5875cda6"></a><!-- doxytag: member="XPathEvaluator::getExecutionContext" ref="af7ca370f564602f21ae9225b5875cda6" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a>&amp; XPathEvaluator::getExecutionContext </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aa5f260495acab2ed8872b3cf53486598"></a><!-- doxytag: member="XPathEvaluator::initialize" ref="aa5f260495acab2ed8872b3cf53486598" args="(MemoryManager &amp;theManager=XalanMemMgrs::getDefaultXercesMemMgr())" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void XPathEvaluator::initialize </td>
<td>(</td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theManager</em> = <code>XalanMemMgrs::getDefaultXercesMemMgr()</code></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a1babdeed573da40bb9fc2c6221ba213c"></a><!-- doxytag: member="XPathEvaluator::selectNodeList" ref="a1babdeed573da40bb9fc2c6221ba213c" args="(NodeRefList &amp;result, DOMSupport &amp;domSupport, XalanNode *contextNode, const XPath &amp;xpath, const PrefixResolver &amp;prefixResolver)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classNodeRefList.html">NodeRefList</a>&amp; XPathEvaluator::selectNodeList </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classNodeRefList.html">NodeRefList</a> &amp;&nbsp;</td>
<td class="paramname"> <em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> &amp;&nbsp;</td>
<td class="paramname"> <em>xpath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>prefixResolver</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. </p>
<p>If the expression doesn't select a node, an empty list is returned.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpath</em>&nbsp;</td><td>A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixResolver</em>&nbsp;</td><td>A prefix resolver instance to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of selected nodes. </dd></dl>
</div>
</div>
<a class="anchor" id="a8d59458b460e26cd3d99c4078dc2e556"></a><!-- doxytag: member="XPathEvaluator::selectNodeList" ref="a8d59458b460e26cd3d99c4078dc2e556" args="(NodeRefList &amp;result, DOMSupport &amp;domSupport, XalanNode *contextNode, const XPath &amp;xpath, const XalanElement *namespaceNode=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classNodeRefList.html">NodeRefList</a>&amp; XPathEvaluator::selectNodeList </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classNodeRefList.html">NodeRefList</a> &amp;&nbsp;</td>
<td class="paramname"> <em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> &amp;&nbsp;</td>
<td class="paramname"> <em>xpath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanElement.html">XalanElement</a> *&nbsp;</td>
<td class="paramname"> <em>namespaceNode</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. </p>
<p>If the expression doesn't select a node, an empty list is returned.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpath</em>&nbsp;</td><td>A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>namespaceNode</em>&nbsp;</td><td>A node to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of selected nodes. </dd></dl>
</div>
</div>
<a class="anchor" id="a33f10838bff76795d4e30aba09aaa89b"></a><!-- doxytag: member="XPathEvaluator::selectNodeList" ref="a33f10838bff76795d4e30aba09aaa89b" args="(NodeRefList &amp;result, DOMSupport &amp;domSupport, XalanNode *contextNode, const XalanDOMChar *xpathString, const PrefixResolver &amp;prefixResolver)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classNodeRefList.html">NodeRefList</a>&amp; XPathEvaluator::selectNodeList </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classNodeRefList.html">NodeRefList</a> &amp;&nbsp;</td>
<td class="paramname"> <em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>xpathString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>prefixResolver</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. </p>
<p>If the expression doesn't select a node, an empty list is returned.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpathString</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixResolver</em>&nbsp;</td><td>A prefix resolver instance to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of selected nodes. </dd></dl>
</div>
</div>
<a class="anchor" id="ae6986df59491462ab498937a02cf31b9"></a><!-- doxytag: member="XPathEvaluator::selectNodeList" ref="ae6986df59491462ab498937a02cf31b9" args="(NodeRefList &amp;result, DOMSupport &amp;domSupport, XalanNode *contextNode, const XalanDOMChar *xpathString, const XalanElement *namespaceNode=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classNodeRefList.html">NodeRefList</a>&amp; XPathEvaluator::selectNodeList </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classNodeRefList.html">NodeRefList</a> &amp;&nbsp;</td>
<td class="paramname"> <em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>xpathString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanElement.html">XalanElement</a> *&nbsp;</td>
<td class="paramname"> <em>namespaceNode</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. </p>
<p>If the expression doesn't select a node, an empty list is returned.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpathString</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr>
<tr><td valign="top"></td><td valign="top"><em>namespaceNode</em>&nbsp;</td><td>A node to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of selected nodes. </dd></dl>
</div>
</div>
<a class="anchor" id="a7a77e98bcd750e69da12f7a3e9d669ec"></a><!-- doxytag: member="XPathEvaluator::selectSingleNode" ref="a7a77e98bcd750e69da12f7a3e9d669ec" args="(DOMSupport &amp;domSupport, XalanNode *contextNode, const XPath &amp;xpath, const PrefixResolver &amp;prefixResolver)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanNode.html">XalanNode</a>* XPathEvaluator::selectSingleNode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> &amp;&nbsp;</td>
<td class="paramname"> <em>xpath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>prefixResolver</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. </p>
<p>If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpath</em>&nbsp;</td><td>A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixResolver</em>&nbsp;</td><td>A prefix resolver instance to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the node selected by the expression, if any. </dd></dl>
</div>
</div>
<a class="anchor" id="a93bb17af14c49ef740f14d3c5e999236"></a><!-- doxytag: member="XPathEvaluator::selectSingleNode" ref="a93bb17af14c49ef740f14d3c5e999236" args="(DOMSupport &amp;domSupport, XalanNode *contextNode, const XalanDOMChar *xpathString, const PrefixResolver &amp;prefixResolver)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanNode.html">XalanNode</a>* XPathEvaluator::selectSingleNode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>xpathString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &amp;&nbsp;</td>
<td class="paramname"> <em>prefixResolver</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. </p>
<p>If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpathString</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr>
<tr><td valign="top"></td><td valign="top"><em>prefixResolver</em>&nbsp;</td><td>A prefix resolver instance to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the node selected by the expression, if any. </dd></dl>
</div>
</div>
<a class="anchor" id="ad254891230566ca1187878a8d6429913"></a><!-- doxytag: member="XPathEvaluator::selectSingleNode" ref="ad254891230566ca1187878a8d6429913" args="(DOMSupport &amp;domSupport, XalanNode *contextNode, const XPath &amp;xpath, const XalanElement *namespaceNode=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanNode.html">XalanNode</a>* XPathEvaluator::selectSingleNode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXPath.html">XPath</a> &amp;&nbsp;</td>
<td class="paramname"> <em>xpath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanElement.html">XalanElement</a> *&nbsp;</td>
<td class="paramname"> <em>namespaceNode</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. </p>
<p>If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpath</em>&nbsp;</td><td>A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>namespaceNode</em>&nbsp;</td><td>A node to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the node selected by the expression, if any. </dd></dl>
</div>
</div>
<a class="anchor" id="ade055695cfea26325f140da8c7b32c47"></a><!-- doxytag: member="XPathEvaluator::selectSingleNode" ref="ade055695cfea26325f140da8c7b32c47" args="(DOMSupport &amp;domSupport, XalanNode *contextNode, const XalanDOMChar *xpathString, const XalanElement *namespaceNode=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXalanNode.html">XalanNode</a>* XPathEvaluator::selectSingleNode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDOMSupport.html">DOMSupport</a> &amp;&nbsp;</td>
<td class="paramname"> <em>domSupport</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>contextNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>xpathString</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanElement.html">XalanElement</a> *&nbsp;</td>
<td class="paramname"> <em>namespaceNode</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. </p>
<p>If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>domSupport</em>&nbsp;</td><td>An instance of the corresponding DOMSupport-derived for the DOM implementation being used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>contextNode</em>&nbsp;</td><td>The source tree context node </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xpathString</em>&nbsp;</td><td>The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr>
<tr><td valign="top"></td><td valign="top"><em>namespaceNode</em>&nbsp;</td><td>A node to use for namespace prefix resolution. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the node selected by the expression, if any. </dd></dl>
</div>
</div>
<a class="anchor" id="a4cf456fe56ced02779762215e6bd6bc6"></a><!-- doxytag: member="XPathEvaluator::terminate" ref="a4cf456fe56ced02779762215e6bd6bc6" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void XPathEvaluator::terminate </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XPathEvaluator_8hpp_source.html">XPathEvaluator.hpp</a></li>
</ul>
</div>
<p align="center"><a href="graph_legend.html">Interpreting class diagrams</a></p>
<p><font color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><a href="http://www.doxygen.org/">Doxygen</a> and
<a href="http://www.graphviz.org/">GraphViz</a> are
used to generate this API documentation from the Xalan-C header files.</i></font></p>
<table border="0" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td width="80%" valign="top">
<p align="center"><b>Xalan-C++ XSLT Processor Version 1.11</b><br/>
Copyright &copy; 1999-2012 The Apache Software Foundation.<br/>
All Rights Reserved.</p>
</td>
</tr>
<tr>
<td width="100%">
<p align="center"><img src="asf_logo_wide.gif" width="268" height="25" align="bottom" border="0" alt="Apache Logo">
</td>
</tr>
</table>
</body>
</html>