blob: ae8257137a10dbc4785960bb9c1124e45fb0a3a4 [file] [log] [blame]
<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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>XTokenNumberAdapter Class Reference</h1><code>#include &lt;<a class="el" href="XTokenNumberAdapter_8hpp-source.html">XTokenNumberAdapter.hpp</a>&gt;</code>
<p>
Inheritance diagram for XTokenNumberAdapter:<p><center><img src="classXTokenNumberAdapter__inherit__graph.gif" border="0" usemap="#XTokenNumberAdapter_inherit_map" alt="Inheritance graph"></center>
<map name="XTokenNumberAdapter_inherit_map">
<area href="classXNumberBase.html" shape="rect" coords="53,192,157,168">
<area href="classXObject.html" shape="rect" coords="72,117,138,93">
<area href="classXalanReferenceCountedObject.html" shape="rect" coords="6,43,204,19">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XTokenNumberAdapter:<p><center><img src="classXTokenNumberAdapter__coll__graph.gif" border="0" usemap="#XTokenNumberAdapter_coll_map" alt="Collaboration graph"></center>
<map name="XTokenNumberAdapter_coll_map">
<area href="classXNumberBase.html" shape="rect" coords="180,312,283,288">
<area href="classXObject.html" shape="rect" coords="198,234,265,211">
<area href="classXToken.html" shape="rect" coords="94,312,156,288">
<area href="classXalanReferenceCountedObject.html" shape="rect" coords="194,43,391,19">
<area href="classXalanDOMString.html" shape="rect" coords="6,43,124,19">
<area href="classXObjectFactory.html" shape="rect" coords="415,43,525,19">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXTokenNumberAdapter-members.html">List of all members.</a><h2>Public Methods</h2>
<ul>
<li><a class="el" href="classXTokenNumberAdapter.html#a0">XTokenNumberAdapter</a> (const <a class="el" href="classXToken.html">XToken</a> &amp;theToken)
<dl class="el"><dd><font size=-1><em>Create an XTokenNumberAdapter from an <a class="el" href="classXToken.html">XToken</a>.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXTokenNumberAdapter.html#a1">XTokenNumberAdapter</a> (const XTokenNumberAdapter &amp;source)
<li>virtual <a class="el" href="classXTokenNumberAdapter.html#a2">~XTokenNumberAdapter</a> ()
<li>virtual double <a class="el" href="classXTokenNumberAdapter.html#a3">num</a> () const
<dl class="el"><dd><font size=-1><em>Cast result object to a number.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXTokenNumberAdapter.html#a4">str</a> () const
<dl class="el"><dd><font size=-1><em>Cast result object to a string.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXTokenNumberAdapter.html#a5">str</a> (<a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;formatterListener, <a class="el" href="classXObject.html#s0">MemberFunctionPtr</a> function) const
<dl class="el"><dd><font size=-1><em>Send the string value to a <a class="el" href="classFormatterListener.html">FormatterListener</a> instance.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXTokenNumberAdapter.html#a6">str</a> (<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theBuffer) const
<dl class="el"><dd><font size=-1><em>Append the string value directly a string.</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li>virtual double <a class="el" href="classXTokenNumberAdapter.html#a7">stringLength</a> () const
<dl class="el"><dd><font size=-1><em>Get the length of the string value of the instance..</em> <a href="#a7">More...</a><em><br><br></em></font></dl></ul>
<h2>Protected Methods</h2>
<ul>
<li>virtual <a class="el" href="classXObject.html#s16">eObjectType</a> <a class="el" href="classXTokenNumberAdapter.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 &amp; 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="classXToken.html">XToken</a> &amp; <em>theToken</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create an XTokenNumberAdapter from an <a class="el" href="classXToken.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>
&nbsp;</td><td>
The <a class="el" href="classXToken.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 &amp; <em>source</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</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>
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>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<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>
<a class="el" href="classXObject.html#s16">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>
&nbsp;
</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="classXObject.html#b0">XObject</a>. </td>
</tr>
</table>
<a name="a3" 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>
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>
&nbsp;
</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="classXNumberBase.html#a3">XNumberBase</a>. </td>
</tr>
</table>
<a name="a6" 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>
void XTokenNumberAdapter::str (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theBuffer</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Append the string value directly a string.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theBuffer</em>
&nbsp;</td><td>
The buffer for the data </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXObject.html#a8">XObject</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>
void XTokenNumberAdapter::str (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classFormatterListener.html">FormatterListener</a> &amp; <em>formatterListener</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXObject.html#s0">MemberFunctionPtr</a> <em>function</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Send the string value to a <a class="el" href="classFormatterListener.html">FormatterListener</a> instance.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>formatterListener</em>
&nbsp;</td><td>
The <a class="el" href="classFormatterListener.html">FormatterListener</a> instance </td></tr>
<tr><td valign=top><em>function</em>
&nbsp;</td><td>
A pointer to the member function of <a class="el" href="classFormatterListener.html">FormatterListener</a> to call </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXNumberBase.html#a6">XNumberBase</a>. </td>
</tr>
</table>
<a name="a4" 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>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; 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>
&nbsp;
</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="classXNumberBase.html#a5">XNumberBase</a>. </td>
</tr>
</table>
<a name="a7" doxytag="XTokenNumberAdapter::stringLength"></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>
double XTokenNumberAdapter::stringLength (
</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>
&nbsp;
</td>
<td>
<p>
Get the length of the string value of the instance..
<p>
<dl compact><dt>
<b>Returns: </b><dd>
The length of the string value </dl>
<p>
Reimplemented from <a class="el" href="classXNumberBase.html#a7">XNumberBase</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XTokenNumberAdapter_8hpp-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="../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 &copy; 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>