<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:31:48 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>FunctionSubstringBefore Class Reference</h1><a class="el" href="class_xpath.html">XPath</a> implementation of "substring-before" function. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="FunctionSubstringBefore.hpp-source.html">FunctionSubstringBefore.hpp</a>></code> <p> <p>Inheritance diagram for FunctionSubstringBefore: <p><center><img src="class_functionsubstringbefore.gif" usemap="#FunctionSubstringBefore_map" border="0"></center> <map name="FunctionSubstringBefore_map"><p> <area href="class_function.html" alt="Function" shape="rect" coords="0,0,152,24"> </map> Collaboration diagram for FunctionSubstringBefore:<p><center><img src="class_functionsubstringbefore_coll_graph.gif" border="0" usemap="#FunctionSubstringBefore_impl_map"></center> <map name="FunctionSubstringBefore_impl_map"> <area href="class_function.html" shape="rect" coords="53,37,112,16"> </map><p> <a href="class_functionsubstringbefore-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li><a class="el" href="class_functionsubstringbefore.html#a0">FunctionSubstringBefore</a> () <li>virtual <a class="el" href="class_functionsubstringbefore.html#a1">~FunctionSubstringBefore</a> () <li>virtual <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_functionsubstringbefore.html#a2">execute</a> ( <a class="el" href="class_xpathexecutioncontext.html">XPathExecutionContext</a>& executionContext, <a class="el" href="class_xalannode.html">XalanNode</a>* context, const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> arg1, const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> arg2, const <a class="el" href="class_locator.html">Locator</a>* locator) const <dl class="el"><dd><font size=-1><em>Execute an <a class="el" href="class_xpath.html">XPath</a> function object.</em> <a href="#a2">More...</a><em></em></font></dl><li>virtual FunctionSubstringBefore* <a class="el" href="class_functionsubstringbefore.html#a3">clone</a> () const <dl class="el"><dd><font size=-1><em>Create a copy of the function object.</em> <a href="#a3">More...</a><em></em></font></dl></ul> <h2>Protected Methods</h2> <ul> <li>const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> <a class="el" href="class_functionsubstringbefore.html#b0">getError</a> () const <dl class="el"><dd><font size=-1><em>Get the error message to report when the function is called with the wrong number of arguments.</em> <a href="#b0">More...</a><em></em></font></dl></ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="class_xpath.html">XPath</a> implementation of "substring-before" function. <p> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="FunctionSubstringBefore::FunctionSubstringBefore"><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> FunctionSubstringBefore::FunctionSubstringBefore ()</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a1" doxytag="FunctionSubstringBefore::~FunctionSubstringBefore"><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 FunctionSubstringBefore::~FunctionSubstringBefore ()<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="a3" doxytag="FunctionSubstringBefore::clone"><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 FunctionSubstringBefore* FunctionSubstringBefore::clone () const<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Create a copy of the function object. <p> <dl compact><dt> <b>Returns: </b><dd> pointer to the new object </dl> <p> Reimplemented from <a class="el" href="class_function.html#a7">Function</a>.</div> <a name="a2" doxytag="FunctionSubstringBefore::execute"><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 <a class="el" href="class_xobjectptr.html">XObjectPtr</a> FunctionSubstringBefore::execute ( </b></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> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <em>arg1</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <em>arg2</em>, </b></td></tr> <tr><td></td><td><b> const <a class="el" href="class_locator.html">Locator</a> * <em>locator</em>) const<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Execute an <a class="el" href="class_xpath.html">XPath</a> function object. <p> The function must return a valid object. Called if function has two parameters. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>executionContext</em> </td><td> executing context </td></tr> <tr><td valign=top><em>context</em> </td><td> current context node </td></tr> <tr><td valign=top><em>arg1</em> </td><td> pointer to <a class="el" href="class_xobject.html">XObject</a> argument </td></tr> <tr><td valign=top><em>arg2</em> </td><td> pointer to <a class="el" href="class_xobject.html">XObject</a> argument </td></tr> <tr><td valign=top><em>locator</em> </td><td> <a class="el" href="class_locator.html">Locator</a> for the <a class="el" href="class_xpath.html">XPath</a> expression that contains the function call </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> pointer to the result <a class="el" href="class_xobject.html">XObject</a> </dl> <p> Reimplemented from <a class="el" href="class_function.html#a5">Function</a>.</div> <a name="b0" doxytag="FunctionSubstringBefore::getError"><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_xalandomstring.html">XalanDOMString</a> FunctionSubstringBefore::getError () const<code> [protected, virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Get the error message to report when the function is called with the wrong number of arguments. <p> <dl compact><dt> <b>Returns: </b><dd> function error message </dl> <p> Reimplemented from <a class="el" href="class_function.html#b0">Function</a>.</div> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="FunctionSubstringBefore.hpp.html">FunctionSubstringBefore.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>