<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD> <BODY> <h2 align="center">Xalan-C++ API Documentation</h2> <h3 align="center">The Xalan C++ XSL Transformer Version 1.1</h3> </BODY> <!-- Generated by Doxygen 1.2.0 on Thu Feb 15 10:50:42 2001 --> <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>XTokenNumberAdapter Class Reference</h1><code>#include <<a class="el" href="XTokenNumberAdapter.hpp-source.html">XTokenNumberAdapter.hpp</a>></code> <p> Inheritance diagram for XTokenNumberAdapter<p><center><img src="class_xtokennumberadapter_inherit_graph.gif" border="0" usemap="#XTokenNumberAdapter_inherit_map" alt="Inheritance graph"></center> <map name="XTokenNumberAdapter_inherit_map"> <area href="class_xnumberbase.html" shape="rect" coords="44,133,135,151"> <area href="class_xobject.html" shape="rect" coords="60,66,119,85"> <area href="class_xalanreferencecountedobject.html" shape="rect" coords="0,-1,179,18"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XTokenNumberAdapter:<p><center><img src="class_xtokennumberadapter_coll_graph.gif" border="0" usemap="#XTokenNumberAdapter_coll_map" alt="Collaboration graph"></center> <map name="XTokenNumberAdapter_coll_map"> <area href="class_xnumberbase.html" shape="rect" coords="165,152,256,170"> <area href="class_xobject.html" shape="rect" coords="181,82,240,101"> <area href="class_xtoken.html" shape="rect" coords="85,152,141,170"> <area href="class_xalanreferencecountedobject.html" shape="rect" coords="137,0,316,18"> <area href="class_xalandomstring.html" shape="rect" coords="0,0,109,18"> <area href="class_xobjectfactory.html" shape="rect" coords="340,0,439,18"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_xtokennumberadapter-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li><a class="el" href="class_xtokennumberadapter.html#a0">XTokenNumberAdapter</a> (const <a class="el" href="class_xtoken.html">XToken</a>& theToken) <dl class="el"><dd><font size=-1><em>Create an XTokenNumberAdapter from an <a class="el" href="class_xtoken.html">XToken</a>.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li><a class="el" href="class_xtokennumberadapter.html#a1">XTokenNumberAdapter</a> (const XTokenNumberAdapter& source) <li>virtual <a class="el" href="class_xtokennumberadapter.html#a2">~XTokenNumberAdapter</a> () <li>virtual XTokenNumberAdapter* <a class="el" href="class_xtokennumberadapter.html#a3">clone</a> (void* theAddress = 0) const <dl class="el"><dd><font size=-1><em>Clone the instance.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual double <a class="el" href="class_xtokennumberadapter.html#a4">num</a> () const <dl class="el"><dd><font size=-1><em>Cast result object to a number.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& <a class="el" href="class_xtokennumberadapter.html#a5">str</a> () const <dl class="el"><dd><font size=-1><em>Cast result object to a string.</em> <a href="#a5">More...</a><em><br><br></em></font></dl></ul> <h2>Protected Methods</h2> <ul> <li>virtual <a class="el" href="class_xobject.html#s14">eObjectType</a> <a class="el" href="class_xtokennumberadapter.html#b0">getRealType</a> () const <dl class="el"><dd><font size=-1><em>Tell what kind of class this is.</em> <a href="#b0">More...</a><em><br><br></em></font></dl></ul> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XTokenNumberAdapter::XTokenNumberAdapter"></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> XTokenNumberAdapter::XTokenNumberAdapter ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_xtoken.html">XToken</a> & <em>theToken</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Create an XTokenNumberAdapter from an <a class="el" href="class_xtoken.html">XToken</a>. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theXToken</em> </td><td> The <a class="el" href="class_xtoken.html">XToken</a> instance to adapt </td></tr> </table> </dl> </td> </tr> </table> <a name="a1" doxytag="XTokenNumberAdapter::XTokenNumberAdapter"></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> XTokenNumberAdapter::XTokenNumberAdapter ( </b></td> <td valign="bottom"><b> const XTokenNumberAdapter & <em>source</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="a2" doxytag="XTokenNumberAdapter::~XTokenNumberAdapter"></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> virtual XTokenNumberAdapter::~XTokenNumberAdapter ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </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="a3" doxytag="XTokenNumberAdapter::clone"></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> virtual XTokenNumberAdapter* XTokenNumberAdapter::clone ( </b></td> <td valign="bottom"><b> void * <em>theAddress</em> = 0 ) const<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Clone the instance. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>If</em> </td><td> theAddress is not null, the <a class="el" href="class_xobject.html">XObject</a> will clone itself into that address. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> a clone of the instance. </dl> <p> Reimplemented from <a class="el" href="class_xobject.html#a2">XObject</a>. </td> </tr> </table> <a name="b0" doxytag="XTokenNumberAdapter::getRealType"></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> virtual <a class="el" href="class_xobject.html#s14">eObjectType</a> XTokenNumberAdapter::getRealType ( </b></td> <td valign="bottom"><b> ) const<code> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Tell what kind of class this is. <p> <dl compact><dt> <b>Returns: </b><dd> numeric type value </dl> <p> Reimplemented from <a class="el" href="class_xobject.html#b0">XObject</a>. </td> </tr> </table> <a name="a4" doxytag="XTokenNumberAdapter::num"></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> virtual double XTokenNumberAdapter::num ( </b></td> <td valign="bottom"><b> ) const<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Cast result object to a number. <p> <dl compact><dt> <b>Returns: </b><dd> numeric value </dl> <p> Reimplemented from <a class="el" href="class_xnumberbase.html#a3">XNumberBase</a>. </td> </tr> </table> <a name="a5" doxytag="XTokenNumberAdapter::str"></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> virtual const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& XTokenNumberAdapter::str ( </b></td> <td valign="bottom"><b> ) const<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Cast result object to a string. <p> <dl compact><dt> <b>Returns: </b><dd> string value </dl> <p> Reimplemented from <a class="el" href="class_xnumberbase.html#a5">XNumberBase</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XTokenNumberAdapter.hpp-source.html">XTokenNumberAdapter.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++ XSL Transformer Version 1.1</B><BR> Copyright © 2000, 2001 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>