| <HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
|
| <BODY>
|
| <h2 align="center">Xalan-C++ API Documentation</h2>
|
| <h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
|
| </BODY> |
| <!-- Generated by Doxygen 1.2.8.1 --> |
| <center> |
| <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> |
| <hr><h1>XPathEvaluator Class Reference</h1><code>#include <<a class="el" href="XPathEvaluator_8hpp-source.html">XPathEvaluator.hpp</a>></code> |
| <p> |
| Collaboration diagram for XPathEvaluator:<p><center><img src="classXPathEvaluator__coll__graph.gif" border="0" usemap="#XPathEvaluator_coll_map" alt="Collaboration graph"></center> |
| <map name="XPathEvaluator_coll_map"> |
| <area href="classXPathConstructionContextDefault.html" shape="rect" coords="17,33,225,9"> |
| <area href="classXObjectFactory.html" shape="rect" coords="67,96,176,72"> |
| <area href="classXPathFactoryDefault.html" shape="rect" coords="53,158,189,134"> |
| <area href="classXPathExecutionContextDefault.html" shape="rect" coords="25,221,217,197"> |
| </map> |
| <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXPathEvaluator-members.html">List of all members.</a><h2>Public Methods</h2> |
| <ul> |
| <li><a class="el" href="classXPathEvaluator.html#a0">XPathEvaluator</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &theManager XALAN_DEFAULT_MEMMGR) |
| <li><a class="el" href="classXPathEvaluator.html#a1">~XPathEvaluator</a> () |
| <li><a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXPathEvaluator.html#a2">selectSingleNode</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &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><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXPathEvaluator.html#a3">selectSingleNode</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const XalanDOMChar *xpathString, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &prefixResolver) |
| <dl class="el"><dd><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXPathEvaluator.html#a4">selectSingleNode</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &xpath, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode=0) |
| <dl class="el"><dd><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanNode.html">XalanNode</a>* <a class="el" href="classXPathEvaluator.html#a5">selectSingleNode</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &xpath, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &prefixResolver) |
| <dl class="el"><dd><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li><a class="el" href="classNodeRefList.html">NodeRefList</a>& <a class="el" href="classXPathEvaluator.html#a6">selectNodeList</a> (<a class="el" href="classNodeRefList.html">NodeRefList</a> &result, <a class="el" href="classDOMSupport.html">DOMSupport</a> &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><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context.</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li><a class="el" href="classNodeRefList.html">NodeRefList</a>& <a class="el" href="classXPathEvaluator.html#a7">selectNodeList</a> (<a class="el" href="classNodeRefList.html">NodeRefList</a> &result, <a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const XalanDOMChar *xpathString, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &prefixResolver) |
| <dl class="el"><dd><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context.</em> <a href="#a7">More...</a><em><br><br></em></font></dl><li><a class="el" href="classNodeRefList.html">NodeRefList</a>& <a class="el" href="classXPathEvaluator.html#a8">selectNodeList</a> (<a class="el" href="classNodeRefList.html">NodeRefList</a> &result, <a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &xpath, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode=0) |
| <dl class="el"><dd><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context.</em> <a href="#a8">More...</a><em><br><br></em></font></dl><li><a class="el" href="classNodeRefList.html">NodeRefList</a>& <a class="el" href="classXPathEvaluator.html#a9">selectNodeList</a> (<a class="el" href="classNodeRefList.html">NodeRefList</a> &result, <a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &xpath, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &prefixResolver) |
| <dl class="el"><dd><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context.</em> <a href="#a9">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXObjectPtr.html">XObjectPtr</a> <a class="el" href="classXPathEvaluator.html#a10">evaluate</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &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><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context.</em> <a href="#a10">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXObjectPtr.html">XObjectPtr</a> <a class="el" href="classXPathEvaluator.html#a11">evaluate</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const XalanDOMChar *xpathString, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &prefixResolver) |
| <dl class="el"><dd><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context.</em> <a href="#a11">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXObjectPtr.html">XObjectPtr</a> <a class="el" href="classXPathEvaluator.html#a12">evaluate</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &xpath, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode=0) |
| <dl class="el"><dd><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context.</em> <a href="#a12">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXObjectPtr.html">XObjectPtr</a> <a class="el" href="classXPathEvaluator.html#a13">evaluate</a> (<a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, <a class="el" href="classXalanNode.html">XalanNode</a> *contextNode, const <a class="el" href="classXPath.html">XPath</a> &xpath, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &prefixResolver) |
| <dl class="el"><dd><font size=-1><em>Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context.</em> <a href="#a13">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXPath.html">XPath</a>* <a class="el" href="classXPathEvaluator.html#a14">createXPath</a> (const XalanDOMChar *xpathString) |
| <dl class="el"><dd><font size=-1><em>Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times.</em> <a href="#a14">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXPath.html">XPath</a>* <a class="el" href="classXPathEvaluator.html#a15">createXPath</a> (const XalanDOMChar *xpathString, <a class="el" href="classDOMSupport.html">DOMSupport</a> &domSupport, const <a class="el" href="classXalanElement.html">XalanElement</a> *namespaceNode) |
| <dl class="el"><dd><font size=-1><em>Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times.</em> <a href="#a15">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXPath.html">XPath</a>* <a class="el" href="classXPathEvaluator.html#a16">createXPath</a> (const XalanDOMChar *xpathString, const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> &prefixResolver) |
| <dl class="el"><dd><font size=-1><em>Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times.</em> <a href="#a16">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXPathEvaluator.html#a17">destroyXPath</a> (<a class="el" href="classXPath.html">XPath</a> *theXPath) |
| <dl class="el"><dd><font size=-1><em>Destory a compiled <a class="el" href="classXPath.html">XPath</a> instance.</em> <a href="#a17">More...</a><em><br><br></em></font></dl></ul> |
| <h2>Static Public Methods</h2> |
| <ul> |
| <li>void <a class="el" href="classXPathEvaluator.html#d0">initialize</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &theManager XALAN_DEFAULT_MEMMGR) |
| <li>void <a class="el" href="classXPathEvaluator.html#d1">terminate</a> () |
| </ul> |
| <hr><h2>Constructor & Destructor Documentation</h2> |
| <a name="a0" doxytag="XPathEvaluator::XPathEvaluator"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| XPathEvaluator::XPathEvaluator ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &theManager <em>XALAN_DEFAULT_MEMMGR</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="a1" doxytag="XPathEvaluator::~XPathEvaluator"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| XPathEvaluator::~XPathEvaluator ( |
| </b></td> |
| <td valign="bottom"><b> |
| ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <hr><h2>Member Function Documentation</h2> |
| <a name="a16" doxytag="XPathEvaluator::createXPath"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXPath.html">XPath</a> * XPathEvaluator::createXPath ( |
| </b></td> |
| <td valign="bottom"><b> |
| const XalanDOMChar * <em>xpathString</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> & <em>prefixResolver</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times. |
| <p> |
| Call <a class="el" href="classXPathEvaluator.html#a17">destroyXPath</a>() when finished with the instance. Otherwise, the object will be destroyed when the XPathEvaluator instance goes out of scope.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>xpathString</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr> |
| <tr><td valign=top><em>prefixResolver</em> |
| </td><td> |
| A prefix resolver instance to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A pointer to an <a class="el" href="classXPath.html">XPath</a> instance. </dl> </td> |
| </tr> |
| </table> |
| <a name="a15" doxytag="XPathEvaluator::createXPath"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXPath.html">XPath</a> * XPathEvaluator::createXPath ( |
| </b></td> |
| <td valign="bottom"><b> |
| const XalanDOMChar * <em>xpathString</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanElement.html">XalanElement</a> * <em>namespaceNode</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times. |
| <p> |
| Call <a class="el" href="classXPathEvaluator.html#a17">destroyXPath</a>() when finished with the instance. Otherwise, the object will be destroyed when the XPathEvaluator instance goes out of scope.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>xpathString</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>namespaceNode</em> |
| </td><td> |
| A node to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A pointer to an <a class="el" href="classXPath.html">XPath</a> instance. </dl> </td> |
| </tr> |
| </table> |
| <a name="a14" doxytag="XPathEvaluator::createXPath"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXPath.html">XPath</a> * XPathEvaluator::createXPath ( |
| </b></td> |
| <td valign="bottom"><b> |
| const XalanDOMChar * <em>xpathString</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Compile an <a class="el" href="classXPath.html">XPath</a> expression into an object which can be used multiple times. |
| <p> |
| Call <a class="el" href="classXPathEvaluator.html#a17">destroyXPath</a>() when finished with the instance. Otherwise, the object will be destroyed when the XPathEvaluator instance goes out of scope. Since no <a class="el" href="classPrefixResolver.html">PrefixResolver</a> is supplied, the <a class="el" href="classXPath.html">XPath</a> expression may not contain any namespace prefixes.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>xpathString</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A pointer to an <a class="el" href="classXPath.html">XPath</a> instance. </dl> </td> |
| </tr> |
| </table> |
| <a name="a17" doxytag="XPathEvaluator::destroyXPath"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| bool XPathEvaluator::destroyXPath ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classXPath.html">XPath</a> * <em>theXPath</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Destory a compiled <a class="el" href="classXPath.html">XPath</a> instance. |
| <p> |
| The instance must have been created using <a class="el" href="classXPathEvaluator.html#a14">createXPath</a>().<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>theXPath</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> instance to destroy </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| true if the instance was successfully destroyed </dl> </td> |
| </tr> |
| </table> |
| <a name="a13" doxytag="XPathEvaluator::evaluate"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXObjectPtr.html">XObjectPtr</a> XPathEvaluator::evaluate ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXPath.html">XPath</a> & <em>xpath</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> & <em>prefixResolver</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. |
| <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">XObjectPtr</a> goes out of scope, or when the XPathEvaluator goes out of scope or another expression is evaluated. |
| <p> |
| The user's <a class="el" href="classXObjectPtr.html">XObjectPtr</a> copy _must_ no longer be in scope when the XPathEvaluator instance goes out of scope, or another expression is evaluated.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpath</em> |
| </td><td> |
| A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr> |
| <tr><td valign=top><em>prefixResolver</em> |
| </td><td> |
| A prefix resolver instance to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| The result of evaluting the <a class="el" href="classXPath.html">XPath</a> expression. </dl> </td> |
| </tr> |
| </table> |
| <a name="a12" doxytag="XPathEvaluator::evaluate"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXObjectPtr.html">XObjectPtr</a> XPathEvaluator::evaluate ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXPath.html">XPath</a> & <em>xpath</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanElement.html">XalanElement</a> * <em>namespaceNode</em> = 0 ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. |
| <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">XObjectPtr</a> goes out of scope, or when the XPathEvaluator goes out of scope or another expression is evaluated. |
| <p> |
| The user's <a class="el" href="classXObjectPtr.html">XObjectPtr</a> copy _must_ no longer be in scope when the XPathEvaluator instance goes out of scope, or another expression is evaluated.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpath</em> |
| </td><td> |
| A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr> |
| <tr><td valign=top><em>namespaceNode</em> |
| </td><td> |
| A node to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| The result of evaluting the <a class="el" href="classXPath.html">XPath</a> expression. </dl> </td> |
| </tr> |
| </table> |
| <a name="a11" doxytag="XPathEvaluator::evaluate"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXObjectPtr.html">XObjectPtr</a> XPathEvaluator::evaluate ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const XalanDOMChar * <em>xpathString</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> & <em>prefixResolver</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. |
| <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">XObjectPtr</a> goes out of scope, or when the XPathEvaluator goes out of scope or another expression is evaluated. |
| <p> |
| The user's <a class="el" href="classXObjectPtr.html">XObjectPtr</a> copy _must_ no longer be in scope when the XPathEvaluator instance goes out of scope, or another expression is evaluated.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpathString</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr> |
| <tr><td valign=top><em>prefixResolver</em> |
| </td><td> |
| A prefix resolver instance to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| The result of evaluting the <a class="el" href="classXPath.html">XPath</a> expression. </dl> </td> |
| </tr> |
| </table> |
| <a name="a10" doxytag="XPathEvaluator::evaluate"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXObjectPtr.html">XObjectPtr</a> XPathEvaluator::evaluate ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const XalanDOMChar * <em>xpathString</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanElement.html">XalanElement</a> * <em>namespaceNode</em> = 0 ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. |
| <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">XObjectPtr</a> goes out of scope, or when the XPathEvaluator goes out of scope or another expression is evaluated. |
| <p> |
| The user's <a class="el" href="classXObjectPtr.html">XObjectPtr</a> copy _must_ no longer be in scope when the XPathEvaluator instance goes out of scope, or another expression is evaluated.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpathString</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr> |
| <tr><td valign=top><em>namespaceNode</em> |
| </td><td> |
| A node to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| The result of evaluting the <a class="el" href="classXPath.html">XPath</a> expression. </dl> </td> |
| </tr> |
| </table> |
| <a name="d0" doxytag="XPathEvaluator::initialize"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XPathEvaluator::initialize ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &theManager <em>XALAN_DEFAULT_MEMMGR</em> )<code> [static]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <a name="a9" doxytag="XPathEvaluator::selectNodeList"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classNodeRefList.html">NodeRefList</a> & XPathEvaluator::selectNodeList ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classNodeRefList.html">NodeRefList</a> & <em>result</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXPath.html">XPath</a> & <em>xpath</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> & <em>prefixResolver</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. |
| <p> |
| If the expression doesn't select a node, an empty list is returned.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpath</em> |
| </td><td> |
| A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr> |
| <tr><td valign=top><em>prefixResolver</em> |
| </td><td> |
| A prefix resolver instance to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A list of selected nodes. </dl> </td> |
| </tr> |
| </table> |
| <a name="a8" doxytag="XPathEvaluator::selectNodeList"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classNodeRefList.html">NodeRefList</a> & XPathEvaluator::selectNodeList ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classNodeRefList.html">NodeRefList</a> & <em>result</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXPath.html">XPath</a> & <em>xpath</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanElement.html">XalanElement</a> * <em>namespaceNode</em> = 0 ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. |
| <p> |
| If the expression doesn't select a node, an empty list is returned.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpath</em> |
| </td><td> |
| A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr> |
| <tr><td valign=top><em>namespaceNode</em> |
| </td><td> |
| A node to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A list of selected nodes. </dl> </td> |
| </tr> |
| </table> |
| <a name="a7" doxytag="XPathEvaluator::selectNodeList"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classNodeRefList.html">NodeRefList</a> & XPathEvaluator::selectNodeList ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classNodeRefList.html">NodeRefList</a> & <em>result</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const XalanDOMChar * <em>xpathString</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> & <em>prefixResolver</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. |
| <p> |
| If the expression doesn't select a node, an empty list is returned.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpathString</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr> |
| <tr><td valign=top><em>prefixResolver</em> |
| </td><td> |
| A prefix resolver instance to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A list of selected nodes. </dl> </td> |
| </tr> |
| </table> |
| <a name="a6" doxytag="XPathEvaluator::selectNodeList"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classNodeRefList.html">NodeRefList</a> & XPathEvaluator::selectNodeList ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classNodeRefList.html">NodeRefList</a> & <em>result</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const XalanDOMChar * <em>xpathString</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanElement.html">XalanElement</a> * <em>namespaceNode</em> = 0 ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. |
| <p> |
| If the expression doesn't select a node, an empty list is returned.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpathString</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr> |
| <tr><td valign=top><em>namespaceNode</em> |
| </td><td> |
| A node to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A list of selected nodes. </dl> </td> |
| </tr> |
| </table> |
| <a name="a5" doxytag="XPathEvaluator::selectSingleNode"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * XPathEvaluator::selectSingleNode ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXPath.html">XPath</a> & <em>xpath</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> & <em>prefixResolver</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. |
| <p> |
| If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpath</em> |
| </td><td> |
| A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr> |
| <tr><td valign=top><em>prefixResolver</em> |
| </td><td> |
| A prefix resolver instance to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A pointer to the node selected by the expression, if any. </dl> </td> |
| </tr> |
| </table> |
| <a name="a4" doxytag="XPathEvaluator::selectSingleNode"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * XPathEvaluator::selectSingleNode ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXPath.html">XPath</a> & <em>xpath</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanElement.html">XalanElement</a> * <em>namespaceNode</em> = 0 ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a>, within the given context. |
| <p> |
| If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpath</em> |
| </td><td> |
| A reference to a compiled <a class="el" href="classXPath.html">XPath</a> expression. </td></tr> |
| <tr><td valign=top><em>namespaceNode</em> |
| </td><td> |
| A node to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A pointer to the node selected by the expression, if any. </dl> </td> |
| </tr> |
| </table> |
| <a name="a3" doxytag="XPathEvaluator::selectSingleNode"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * XPathEvaluator::selectSingleNode ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const XalanDOMChar * <em>xpathString</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classPrefixResolver.html">PrefixResolver</a> & <em>prefixResolver</em> ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. |
| <p> |
| If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpathString</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr> |
| <tr><td valign=top><em>prefixResolver</em> |
| </td><td> |
| A prefix resolver instance to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A pointer to the node selected by the expression, if any. </dl> </td> |
| </tr> |
| </table> |
| <a name="a2" doxytag="XPathEvaluator::selectSingleNode"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * XPathEvaluator::selectSingleNode ( |
| </b></td> |
| <td valign="bottom"><b> |
| <a class="el" href="classDOMSupport.html">DOMSupport</a> & <em>domSupport</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| <a class="el" href="classXalanNode.html">XalanNode</a> * <em>contextNode</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const XalanDOMChar * <em>xpathString</em>, |
| </b></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td><b> |
| const <a class="el" href="classXalanElement.html">XalanElement</a> * <em>namespaceNode</em> = 0 ) |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Evaluate the supplied <a class="el" href="classXPath.html">XPath</a> expression, within the given context. |
| <p> |
| If the expression doesn't select a node, 0 is returned. If it selects more than one node, only the first is returned.<dl compact><dt> |
| <b>Parameters: </b><dd> |
| <table border=0 cellspacing=2 cellpadding=0> |
| <tr><td valign=top><em>domSupport</em> |
| </td><td> |
| An instance of the corresponding <a class="el" href="classDOMSupport.html">DOMSupport</a>-derived for the DOM implementation being used. </td></tr> |
| <tr><td valign=top><em>contextNode</em> |
| </td><td> |
| The source tree context node </td></tr> |
| <tr><td valign=top><em>xpathString</em> |
| </td><td> |
| The <a class="el" href="classXPath.html">XPath</a> expression to evaluate </td></tr> |
| <tr><td valign=top><em>namespaceNode</em> |
| </td><td> |
| A node to use for namespace prefix resolution. </td></tr> |
| </table> |
| </dl><dl compact><dt> |
| <b>Returns: </b><dd> |
| A pointer to the node selected by the expression, if any. </dl> </td> |
| </tr> |
| </table> |
| <a name="d1" doxytag="XPathEvaluator::terminate"></a><p> |
| <table width="100%" cellpadding="2" cellspacing="0" border="0"> |
| <tr> |
| <td class="md"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td nowrap valign="top"><b> |
| void XPathEvaluator::terminate ( |
| </b></td> |
| <td valign="bottom"><b> |
| )<code> [static]</code> |
| </b></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| </td> |
| </tr> |
| </table> |
| <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></ul> |
| <p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
|
| <p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
|
| <i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
|
| <A href="http://www.research.att.com/sw/tools/graphviz/">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="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
|
| <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.10</B><BR>
|
| Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
|
| </TD>
|
| </TR>
|
| <TR>
|
| <TD WIDTH="100%">
|
| <P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
|
| </TD>
|
| </TR>
|
| </TABLE>
|