<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.4</h3> </BODY> <!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:35:30 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</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>XLocator Class Reference</h1><code>#include <<a class="el" href="XLocator.hpp-source.html">XLocator.hpp</a>></code> <p> <a href="class_xlocator-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef std::vector<<a class="el" href="class_xobjectptr.html">XObjectPtr</a>> <a class="el" href="class_xlocator.html#s0">ConnectArgsVectorType</a> </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="class_xlocator.html#a0">XLocator</a> () <li>virtual <a class="el" href="class_xlocator.html#a1">~XLocator</a> () <li>virtual const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xlocator.html#a2">locationPath</a> ( const <a class="el" href="class_xpath.html">XPath</a>& xpath, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>& context, int opPos) = 0 <dl class="el"><dd><font size=-1><em>Execute a location path.</em> <a href="#a2">More...</a><em></em></font></dl><li>virtual double <a class="el" href="class_xlocator.html#a3">locationPathPattern</a> ( const <a class="el" href="class_xpath.html">XPath</a>& xpath, <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>& context, int opPos) = 0 <dl class="el"><dd><font size=-1><em>Execute a location path pattern.</em> <a href="#a3">More...</a><em></em></font></dl></ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <hr><h2>Member Typedef Documentation</h2> <a name="s0" doxytag="XLocator::ConnectArgsVectorType"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> typedef std::vector<<a class="el" href="class_xobjectptr.html">XObjectPtr</a>> XLocator::ConnectArgsVectorType</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XLocator::XLocator"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> XLocator::XLocator ()</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a1" doxytag="XLocator::~XLocator"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> virtual XLocator::~XLocator ()<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="XLocator::locationPath"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> XLocator::locationPath ( </b></td> <td><b> const <a class="el" href="class_xpath.html">XPath</a> & <em>xpath</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> & <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>)<code> [pure virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute a location path. <p> Normally, this method simply moves past the OP_LOCATIONPATH and its length member, and calls the Step function, which will recursively process the rest of the location path, and then wraps the resulting node list in an <a class="el" href="class_xnodeset.html">XNodeSet</a> object. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>xpath</em> </td><td> xpath that is executing </td></tr> <tr><td valign=top><em>context</em> </td><td> current source tree context node </td></tr> <tr><td valign=top><em>opPos</em> </td><td> current position in the xpath.m_opMap array </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> result of the query in a pointer to an <a class="el" href="class_xobject.html">XObject</a> </dl></div> <a name="a3" doxytag="XLocator::locationPathPattern"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double XLocator::locationPathPattern ( </b></td> <td><b> const <a class="el" href="class_xpath.html">XPath</a> & <em>xpath</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a> & <em>executionContext</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalannode.html">XalanNode</a> & <em>context</em>, </b></td></tr> <tr><td></td><td><b> int <em>opPos</em>)<code> [pure virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute a location path pattern. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>xpath</em> </td><td> xpath that is executing </td></tr> <tr><td valign=top><em>context</em> </td><td> current source tree context node </td></tr> <tr><td valign=top><em>opPos</em> </td><td> current position in the xpath operation map array </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> score, one of MATCH_SCORE_NODETEST, MATCH_SCORE_NONE, MATCH_SCORE_OTHER, MATCH_SCORE_QNAME </dl></div> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XLocator.hpp.html">XLocator.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="images/dot.gif" width="1"></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.4</B><BR> Copyright © 2000, 2001, 2002 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"> </TD> </TR> </TABLE>