<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:33:53 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>XalanEXSLTFunctionObjectType Class Reference</h1><code>#include <<a class="el" href="XalanEXSLTCommonImpl.hpp-source.html">XalanEXSLTCommonImpl.hpp</a>></code> <p> <p>Inheritance diagram for XalanEXSLTFunctionObjectType: <p><center><img src="class_xalanexsltfunctionobjecttype.gif" usemap="#XalanEXSLTFunctionObjectType_map" border="0"></center> <map name="XalanEXSLTFunctionObjectType_map"><p> <area href="class_function.html" alt="Function" shape="rect" coords="0,0,198,24"> </map> Collaboration diagram for XalanEXSLTFunctionObjectType:<p><center><img src="class_xalanexsltfunctionobjecttype_coll_graph.gif" border="0" usemap="#XalanEXSLTFunctionObjectType_impl_map"></center> <map name="XalanEXSLTFunctionObjectType_impl_map"> <area href="class_function.html" shape="rect" coords="24,37,83,16"> <area href="class_xalandomstring.html" shape="rect" coords="107,37,216,16"> </map><p> <a href="class_xalanexsltfunctionobjecttype-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li><a class="el" href="class_xalanexsltfunctionobjecttype.html#a0">XalanEXSLTFunctionObjectType</a> () <li>virtual <a class="el" href="class_xalanexsltfunctionobjecttype.html#a1">~XalanEXSLTFunctionObjectType</a> () <li>virtual <a class="el" href="class_xobjectptr.html">XObjectPtr</a> <a class="el" href="class_xalanexsltfunctionobjecttype.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_function.html#s0">XObjectArgVectorType</a>& args, 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 XalanEXSLTFunctionObjectType* <a class="el" href="class_xalanexsltfunctionobjecttype.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_xalanexsltfunctionobjecttype.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> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XalanEXSLTFunctionObjectType::XalanEXSLTFunctionObjectType"><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> XalanEXSLTFunctionObjectType::XalanEXSLTFunctionObjectType ()</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a1" doxytag="XalanEXSLTFunctionObjectType::~XalanEXSLTFunctionObjectType"><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> XalanEXSLTFunctionObjectType::~XalanEXSLTFunctionObjectType ()<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="XalanEXSLTFunctionObjectType::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> XalanEXSLTFunctionObjectType * XalanEXSLTFunctionObjectType::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="XalanEXSLTFunctionObjectType::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> XalanEXSLTFunctionObjectType::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_function.html#s0">XObjectArgVectorType</a> & <em>args</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. Extension functions should override this version of <a class="el" href="class_xalanexsltfunctionobjecttype.html#a2">execute</a>(), rather than one of the other calls designed for a specific number of arguments, since the extension function mechanism will call this version first. Extension functions that accept more than three arguments _must_ override this version. <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>args</em> </td><td> vector of pointers to <a class="el" href="class_xobject.html">XObject</a> arguments </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#a2">Function</a>.</div> <a name="b0" doxytag="XalanEXSLTFunctionObjectType::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> XalanEXSLTFunctionObjectType::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="XalanEXSLTCommonImpl.hpp.html">XalanEXSLTCommonImpl.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>