blob: f43d14d6806f61f9f307b6f8f8cd6280123845cc [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Xalan-C++ API : Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<!-- The head section is copied from Doxygen 1.7.1 generated default output -->
<body>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center"><a href="../index.html">The Xalan C++ XSLT Processor Version 1.11</a></h3>
<hr/>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> </div>
<div class="headertitle">
<h1>XTokenNumberAdapter Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XTokenNumberAdapter" --><!-- doxytag: inherits="XNumberBase" -->
<p><code>#include &lt;<a class="el" href="XTokenNumberAdapter_8hpp_source.html">XTokenNumberAdapter.hpp</a>&gt;</code></p>
<p>Inherits <a class="el" href="classXNumberBase.html">XNumberBase</a>.</p>
<div class="dynheader">
Collaboration diagram for XTokenNumberAdapter:</div>
<div class="dyncontent">
<div class="center"><img src="classXTokenNumberAdapter__coll__graph.png" border="0" usemap="#XTokenNumberAdapter_coll__map" alt="Collaboration graph"/></div>
<map name="XTokenNumberAdapter_coll__map" id="XTokenNumberAdapter_coll__map">
<area shape="rect" id="node2" href="classXNumberBase.html" title="XNumberBase" alt="" coords="235,397,349,427"/><area shape="rect" id="node4" href="classXObject.html" title="Class to hold XPath return types." alt="" coords="256,317,328,347"/><area shape="rect" id="node14" href="classXToken.html" title="XToken" alt="" coords="141,397,211,427"/><area shape="rect" id="node6" href="classXalanReferenceCountedObject.html" title="Class to hold reference count information." alt="" coords="228,101,447,131"/><area shape="rect" id="node8" href="classXObjectFactory.html" title="This class handles the creation of XObjects and manages their lifetime." alt="" coords="471,101,588,131"/><area shape="rect" id="node10" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="55,101,183,131"/><area shape="rect" id="node12" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="5,5,232,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXTokenNumberAdapter-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXTokenNumberAdapter.html#a2992ab1741d2a5ee4a1f8131bd3fedab">XTokenNumberAdapter</a> (const <a class="el" href="classXToken.html">XToken</a> &amp;theToken, MemoryManager &amp;theMemoryManager)
<dl class="el"><dd class="mdescRight">Create an <a class="el" href="classXTokenNumberAdapter.html">XTokenNumberAdapter</a> from an <a class="el" href="classXToken.html">XToken</a>. <a href="#a2992ab1741d2a5ee4a1f8131bd3fedab"></a><br/></dl><li><a class="el" href="classXTokenNumberAdapter.html#a59b9daab3a67e670e0290d5ff35e59aa">XTokenNumberAdapter</a> (const <a class="el" href="classXTokenNumberAdapter.html">XTokenNumberAdapter</a> &amp;source, MemoryManager &amp;theMemoryManager)
<dl class="el"><dd class="mdescRight">Create an <a class="el" href="classXTokenNumberAdapter.html">XTokenNumberAdapter</a> from another one. <a href="#a59b9daab3a67e670e0290d5ff35e59aa"></a><br/></dl><li>virtual <a class="el" href="classXTokenNumberAdapter.html#aa2a5b70c1bbd76e64d9d314344996bde">~XTokenNumberAdapter</a> ()
<li>virtual double <a class="el" href="classXTokenNumberAdapter.html#a8ccf0d8430fece974c4743b9c9584d1e">num</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Cast result object to a number. <a href="#a8ccf0d8430fece974c4743b9c9584d1e"></a><br/></dl><li>virtual double <a class="el" href="classXTokenNumberAdapter.html#a497c8cefe7e06737754e626e01d7d328">num</a> () const
<dl class="el"><dd class="mdescRight">Cast result object to a number. <a href="#a497c8cefe7e06737754e626e01d7d328"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classXTokenNumberAdapter.html#a538b1dbf4bb9a6547a887cec95dc7f13">str</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Cast result object to a string. <a href="#a538b1dbf4bb9a6547a887cec95dc7f13"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classXTokenNumberAdapter.html#a70434da2738193ed24ef8f3bd8d8e113">str</a> () const
<dl class="el"><dd class="mdescRight">Cast result object to a string. <a href="#a70434da2738193ed24ef8f3bd8d8e113"></a><br/></dl><li>virtual void <a class="el" href="classXTokenNumberAdapter.html#abbf664144bd7f3303725bda7e6a4204f">str</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext, <a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;formatterListener, <a class="el" href="classXObject.html#ab5465c81680a86b1a26efea4b230adff">MemberFunctionPtr</a> function) const
<dl class="el"><dd class="mdescRight">Send the string value to a <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance. <a href="#abbf664144bd7f3303725bda7e6a4204f"></a><br/></dl><li>virtual void <a class="el" href="classXTokenNumberAdapter.html#ab0e12be69b583f690a4cd95823bc2411">str</a> (<a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;formatterListener, <a class="el" href="classXObject.html#ab5465c81680a86b1a26efea4b230adff">MemberFunctionPtr</a> function) const
<dl class="el"><dd class="mdescRight">Send the string value to a <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance. <a href="#ab0e12be69b583f690a4cd95823bc2411"></a><br/></dl><li>virtual void <a class="el" href="classXTokenNumberAdapter.html#ad42eb565f8c7d08411c450a325ddbb46">str</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theBuffer) const
<dl class="el"><dd class="mdescRight">Append the string value directly a string. <a href="#ad42eb565f8c7d08411c450a325ddbb46"></a><br/></dl><li>virtual void <a class="el" href="classXTokenNumberAdapter.html#a6ed2ce295412ab1a52787f5ce55839d9">str</a> (<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theBuffer) const
<dl class="el"><dd class="mdescRight">Append the string value directly a string. <a href="#a6ed2ce295412ab1a52787f5ce55839d9"></a><br/></dl><li>virtual double <a class="el" href="classXTokenNumberAdapter.html#a7f3e28a1edcd7841d7a1df4256715689">stringLength</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Get the length of the string value of the instance. <a href="#a7f3e28a1edcd7841d7a1df4256715689"></a><br/></dl></ul>
<h2><a name="pro-methods"></a>
Protected Member Functions</h2>
<ul>
<li>virtual <a class="el" href="classXObject.html#a05d141ef03891c9d8d6a44633c02556c">eObjectType</a> <a class="el" href="classXTokenNumberAdapter.html#a2b2514b9badcfcc7181d497119e08cf3">getRealType</a> () const
<dl class="el"><dd class="mdescRight">Tell what kind of class this is. <a href="#a2b2514b9badcfcc7181d497119e08cf3"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="XTokenNumberAdapter_8hpp_source.html#l00045">45</a> of file <a class="el" href="XTokenNumberAdapter_8hpp_source.html">XTokenNumberAdapter.hpp</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2992ab1741d2a5ee4a1f8131bd3fedab"></a><!-- doxytag: member="XTokenNumberAdapter::XTokenNumberAdapter" ref="a2992ab1741d2a5ee4a1f8131bd3fedab" args="(const XToken &amp;theToken, MemoryManager &amp;theMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XTokenNumberAdapter::XTokenNumberAdapter </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXToken.html">XToken</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theToken</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theMemoryManager</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create an <a class="el" href="classXTokenNumberAdapter.html">XTokenNumberAdapter</a> from an <a class="el" href="classXToken.html">XToken</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theXToken</em>&nbsp;</td><td>The <a class="el" href="classXToken.html">XToken</a> instance to adapt </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theMemoryManager</em>&nbsp;</td><td>The MemoryManager instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a59b9daab3a67e670e0290d5ff35e59aa"></a><!-- doxytag: member="XTokenNumberAdapter::XTokenNumberAdapter" ref="a59b9daab3a67e670e0290d5ff35e59aa" args="(const XTokenNumberAdapter &amp;source, MemoryManager &amp;theMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XTokenNumberAdapter::XTokenNumberAdapter </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXTokenNumberAdapter.html">XTokenNumberAdapter</a> &amp;&nbsp;</td>
<td class="paramname"> <em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theMemoryManager</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create an <a class="el" href="classXTokenNumberAdapter.html">XTokenNumberAdapter</a> from another one. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The <a class="el" href="classXTokenNumberAdapter.html">XTokenNumberAdapter</a> instance to copy </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theMemoryManager</em>&nbsp;</td><td>The MemoryManager instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa2a5b70c1bbd76e64d9d314344996bde"></a><!-- doxytag: member="XTokenNumberAdapter::~XTokenNumberAdapter" ref="aa2a5b70c1bbd76e64d9d314344996bde" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XTokenNumberAdapter::~XTokenNumberAdapter </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2b2514b9badcfcc7181d497119e08cf3"></a><!-- doxytag: member="XTokenNumberAdapter::getRealType" ref="a2b2514b9badcfcc7181d497119e08cf3" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classXObject.html#a05d141ef03891c9d8d6a44633c02556c">eObjectType</a> XTokenNumberAdapter::getRealType </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Tell what kind of class this is. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>numeric type value </dd></dl>
<p>Reimplemented from <a class="el" href="classXObject.html#aeb9785fb683cc91467423ffd5108cea3">XObject</a>.</p>
</div>
</div>
<a class="anchor" id="a8ccf0d8430fece974c4743b9c9584d1e"></a><!-- doxytag: member="XTokenNumberAdapter::num" ref="a8ccf0d8430fece974c4743b9c9584d1e" args="(XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XTokenNumberAdapter::num </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cast result object to a number. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>numeric value </dd></dl>
<p>Implements <a class="el" href="classXNumberBase.html#a572b7ef1934674807094276adcd7616c">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="a497c8cefe7e06737754e626e01d7d328"></a><!-- doxytag: member="XTokenNumberAdapter::num" ref="a497c8cefe7e06737754e626e01d7d328" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XTokenNumberAdapter::num </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cast result object to a number. </p>
<p>This function does not have access to the current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a>, so the result may contain data from whitespace text nodes that might have been stripped otherwise.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>numeric value </dd></dl>
<p>Reimplemented from <a class="el" href="classXObject.html#a6abeb86c51a1db373495ecf02eba0adb">XObject</a>.</p>
</div>
</div>
<a class="anchor" id="a70434da2738193ed24ef8f3bd8d8e113"></a><!-- doxytag: member="XTokenNumberAdapter::str" ref="a70434da2738193ed24ef8f3bd8d8e113" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; XTokenNumberAdapter::str </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cast result object to a string. </p>
<p>This function does not have access to the current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a>, so the result may contain data from whitespace text nodes that might have been stripped otherwise.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>string value </dd></dl>
<p>Implements <a class="el" href="classXNumberBase.html#ae2763f5205cf981d2ce0dc2c3ae8d918">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="ad42eb565f8c7d08411c450a325ddbb46"></a><!-- doxytag: member="XTokenNumberAdapter::str" ref="ad42eb565f8c7d08411c450a325ddbb46" args="(XPathExecutionContext &amp;executionContext, XalanDOMString &amp;theBuffer) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XTokenNumberAdapter::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theBuffer</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Append the string value directly a string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theBuffer</em>&nbsp;</td><td>The buffer for the data </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXNumberBase.html#aa46286faf6f9d860415e60719ffd3be4">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="ab0e12be69b583f690a4cd95823bc2411"></a><!-- doxytag: member="XTokenNumberAdapter::str" ref="ab0e12be69b583f690a4cd95823bc2411" args="(FormatterListener &amp;formatterListener, MemberFunctionPtr function) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XTokenNumberAdapter::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;&nbsp;</td>
<td class="paramname"> <em>formatterListener</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXObject.html#ab5465c81680a86b1a26efea4b230adff">MemberFunctionPtr</a>&nbsp;</td>
<td class="paramname"> <em>function</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Send the string value to a <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance. </p>
<p>This function does not have access to the current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a>, so the result may contain data from whitespace text nodes that might have been stripped otherwise.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>formatterListener</em>&nbsp;</td><td>The <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance </td></tr>
<tr><td valign="top"></td><td valign="top"><em>function</em>&nbsp;</td><td>A pointer to the member function of <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> to call </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXNumberBase.html#a14c2b11cac854a9bc52e0b87a4c73368">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="abbf664144bd7f3303725bda7e6a4204f"></a><!-- doxytag: member="XTokenNumberAdapter::str" ref="abbf664144bd7f3303725bda7e6a4204f" args="(XPathExecutionContext &amp;executionContext, FormatterListener &amp;formatterListener, MemberFunctionPtr function) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XTokenNumberAdapter::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;&nbsp;</td>
<td class="paramname"> <em>formatterListener</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXObject.html#ab5465c81680a86b1a26efea4b230adff">MemberFunctionPtr</a>&nbsp;</td>
<td class="paramname"> <em>function</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Send the string value to a <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
<tr><td valign="top"></td><td valign="top"><em>formatterListener</em>&nbsp;</td><td>The <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance </td></tr>
<tr><td valign="top"></td><td valign="top"><em>function</em>&nbsp;</td><td>A pointer to the member function of <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> to call </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXNumberBase.html#ac1e8d48f47e0b988f860c09f444a6327">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="a6ed2ce295412ab1a52787f5ce55839d9"></a><!-- doxytag: member="XTokenNumberAdapter::str" ref="a6ed2ce295412ab1a52787f5ce55839d9" args="(XalanDOMString &amp;theBuffer) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XTokenNumberAdapter::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theBuffer</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Append the string value directly a string. </p>
<p>This function does not have access to the current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a>, so the result may contain data from whitespace text nodes that might have been stripped otherwise.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theBuffer</em>&nbsp;</td><td>The buffer for the data </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXNumberBase.html#ac5700a378b79e922c398b2152ea616c3">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="a538b1dbf4bb9a6547a887cec95dc7f13"></a><!-- doxytag: member="XTokenNumberAdapter::str" ref="a538b1dbf4bb9a6547a887cec95dc7f13" args="(XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; XTokenNumberAdapter::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cast result object to a string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>string value </dd></dl>
<p>Implements <a class="el" href="classXNumberBase.html#ae9d0540c5921f4ec63fe1cc59b0f0943">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="a7f3e28a1edcd7841d7a1df4256715689"></a><!-- doxytag: member="XTokenNumberAdapter::stringLength" ref="a7f3e28a1edcd7841d7a1df4256715689" args="(XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XTokenNumberAdapter::stringLength </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the length of the string value of the instance. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The length of the string value </dd></dl>
<p>Implements <a class="el" href="classXNumberBase.html#a59ee699917955d5d3651e83b9e3a0e7a">XNumberBase</a>.</p>
</div>
</div>
<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></li>
</ul>
</div>
<p align="center"><a href="graph_legend.html">Interpreting class diagrams</a></p>
<p><font color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><a href="http://www.doxygen.org/">Doxygen</a> and
<a href="http://www.graphviz.org/">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="80%">
<tr>
<td width="80%" valign="top">
<p align="center"><b>Xalan-C++ XSLT Processor Version 1.11</b><br/>
Copyright &copy; 1999-2012 The Apache Software Foundation.<br/>
All Rights Reserved.</p>
</td>
</tr>
<tr>
<td width="100%">
<p align="center"><img src="asf_logo_wide.gif" width="268" height="25" align="bottom" border="0" alt="Apache Logo">
</td>
</tr>
</table>
</body>
</html>