blob: 78fc2b7ed34e62a8e11c9dbc53b67042e503f4eb [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-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> </div>
<div class="headertitle">
<h1>XNumberBase Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XNumberBase" --><!-- doxytag: inherits="XObject" -->
<p><code>#include &lt;<a class="el" href="XNumberBase_8hpp_source.html">XNumberBase.hpp</a>&gt;</code></p>
<p>Inherits <a class="el" href="classXObject.html">XObject</a>.</p>
<p>Inherited by <a class="el" href="classXNumber.html">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html">XTokenNumberAdapter</a>.</p>
<div class="dynheader">
Collaboration diagram for XNumberBase:</div>
<div class="dyncontent">
<div class="center"><img src="classXNumberBase__coll__graph.png" border="0" usemap="#XNumberBase_coll__map" alt="Collaboration graph"/></div>
<map name="XNumberBase_coll__map" id="XNumberBase_coll__map">
<area shape="rect" id="node2" href="classXObject.html" title="Class to hold XPath return types." alt="" coords="271,317,343,347"/><area shape="rect" id="node4" href="classXalanReferenceCountedObject.html" title="Class to hold reference count information." alt="" coords="5,101,224,131"/><area shape="rect" id="node6" href="classXObjectFactory.html" title="This class handles the creation of XObjects and manages their lifetime." alt="" coords="248,101,365,131"/><area shape="rect" id="node8" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="389,101,517,131"/><area shape="rect" id="node10" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="340,5,567,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXNumberBase-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef <a class="el" href="classXObject.html">XObject</a> <a class="el" href="classXNumberBase.html#afd2ae4984efd12d5a052ae58978cf4eb">ParentType</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXNumberBase.html#a9e348f7dca44d3509bffcdfdddbd628c">XNumberBase</a> (const <a class="el" href="classXNumberBase.html">XNumberBase</a> &amp;source, MemoryManager &amp;theMemoryManager)
<dl class="el"><dd class="mdescRight">Construct an <a class="el" href="classXNumberBase.html">XNumberBase</a> object from another. <a href="#a9e348f7dca44d3509bffcdfdddbd628c"></a><br/></dl><li>virtual <a class="el" href="classXNumberBase.html#a5b63bdef36d2c488f15185ff177c594a">~XNumberBase</a> ()
<li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classXNumberBase.html#a063f9591d4c07340e4647247575a3091">getTypeString</a> () const
<dl class="el"><dd class="mdescRight">Given a request type, return the equivalent string. <a href="#a063f9591d4c07340e4647247575a3091"></a><br/></dl><li>virtual double <a class="el" href="classXNumberBase.html#a572b7ef1934674807094276adcd7616c">num</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const =0
<dl class="el"><dd class="mdescRight">Cast result object to a number. <a href="#a572b7ef1934674807094276adcd7616c"></a><br/></dl><li>virtual bool <a class="el" href="classXNumberBase.html#ac7ca09949cb06ad3ede57bd1c6878940">boolean</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Cast result object to a boolean. <a href="#ac7ca09949cb06ad3ede57bd1c6878940"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classXNumberBase.html#ae9d0540c5921f4ec63fe1cc59b0f0943">str</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const =0
<dl class="el"><dd class="mdescRight">Cast result object to a string. <a href="#ae9d0540c5921f4ec63fe1cc59b0f0943"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classXNumberBase.html#ae2763f5205cf981d2ce0dc2c3ae8d918">str</a> () const =0
<dl class="el"><dd class="mdescRight">Cast result object to a string. <a href="#ae2763f5205cf981d2ce0dc2c3ae8d918"></a><br/></dl><li>virtual void <a class="el" href="classXNumberBase.html#ac1e8d48f47e0b988f860c09f444a6327">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 =0
<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="#ac1e8d48f47e0b988f860c09f444a6327"></a><br/></dl><li>virtual void <a class="el" href="classXNumberBase.html#a14c2b11cac854a9bc52e0b87a4c73368">str</a> (<a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;formatterListener, <a class="el" href="classXObject.html#ab5465c81680a86b1a26efea4b230adff">MemberFunctionPtr</a> function) const =0
<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="#a14c2b11cac854a9bc52e0b87a4c73368"></a><br/></dl><li>virtual void <a class="el" href="classXNumberBase.html#aa46286faf6f9d860415e60719ffd3be4">str</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theBuffer) const =0
<dl class="el"><dd class="mdescRight">Append the string value directly a string. <a href="#aa46286faf6f9d860415e60719ffd3be4"></a><br/></dl><li>virtual void <a class="el" href="classXNumberBase.html#ac5700a378b79e922c398b2152ea616c3">str</a> (<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theBuffer) const =0
<dl class="el"><dd class="mdescRight">Append the string value directly a string. <a href="#ac5700a378b79e922c398b2152ea616c3"></a><br/></dl><li>virtual double <a class="el" href="classXNumberBase.html#a59ee699917955d5d3651e83b9e3a0e7a">stringLength</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const =0
<dl class="el"><dd class="mdescRight">Get the length of the string value of the instance. <a href="#a59ee699917955d5d3651e83b9e3a0e7a"></a><br/></dl><li>virtual void <a class="el" href="classXNumberBase.html#a1f8ba98b82855dc08216fb03d7afe507">ProcessXObjectTypeCallback</a> (<a class="el" href="classXObjectTypeCallback.html">XObjectTypeCallback</a> &amp;theCallbackObject)
<dl class="el"><dd class="mdescRight">Process a callback request for preferred type information. <a href="#a1f8ba98b82855dc08216fb03d7afe507"></a><br/></dl><li>virtual void <a class="el" href="classXNumberBase.html#a1e52f5b79c871383f86f01894dfa5680">ProcessXObjectTypeCallback</a> (<a class="el" href="classXObjectTypeCallback.html">XObjectTypeCallback</a> &amp;theCallbackObject) const
<dl class="el"><dd class="mdescRight">Process a callback request for preferred type information. <a href="#a1e52f5b79c871383f86f01894dfa5680"></a><br/></dl></ul>
<h2><a name="pro-methods"></a>
Protected Member Functions</h2>
<ul>
<li><a class="el" href="classXNumberBase.html#a71a7a13b904e9a48efeb46bad6da6d78">XNumberBase</a> (MemoryManager &amp;theMemoryManager)
<dl class="el"><dd class="mdescRight">Constructor for derived classes. <a href="#a71a7a13b904e9a48efeb46bad6da6d78"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="XNumberBase_8hpp_source.html#l00041">41</a> of file <a class="el" href="XNumberBase_8hpp_source.html">XNumberBase.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="afd2ae4984efd12d5a052ae58978cf4eb"></a><!-- doxytag: member="XNumberBase::ParentType" ref="afd2ae4984efd12d5a052ae58978cf4eb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classXObject.html">XObject</a> <a class="el" href="classXObject.html">XNumberBase::ParentType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XNumberBase_8hpp_source.html#l00045">45</a> of file <a class="el" href="XNumberBase_8hpp_source.html">XNumberBase.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9e348f7dca44d3509bffcdfdddbd628c"></a><!-- doxytag: member="XNumberBase::XNumberBase" ref="a9e348f7dca44d3509bffcdfdddbd628c" args="(const XNumberBase &amp;source, MemoryManager &amp;theMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XNumberBase::XNumberBase </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXNumberBase.html">XNumberBase</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>Construct an <a class="el" href="classXNumberBase.html">XNumberBase</a> object from another. </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 source <a class="el" href="classXNumberBase.html">XNumberBase</a> instance. </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="a5b63bdef36d2c488f15185ff177c594a"></a><!-- doxytag: member="XNumberBase::~XNumberBase" ref="a5b63bdef36d2c488f15185ff177c594a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XNumberBase::~XNumberBase </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a71a7a13b904e9a48efeb46bad6da6d78"></a><!-- doxytag: member="XNumberBase::XNumberBase" ref="a71a7a13b904e9a48efeb46bad6da6d78" args="(MemoryManager &amp;theMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XNumberBase::XNumberBase </td>
<td>(</td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theMemoryManager</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructor for derived classes. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theMemoryManager</em>&nbsp;</td><td>The MemoryManager instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac7ca09949cb06ad3ede57bd1c6878940"></a><!-- doxytag: member="XNumberBase::boolean" ref="ac7ca09949cb06ad3ede57bd1c6878940" args="(XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool XNumberBase::boolean </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 boolean. </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>boolean value </dd></dl>
<p>Implements <a class="el" href="classXObject.html#af888500b30e13e575b482fc57b87dabd">XObject</a>.</p>
</div>
</div>
<a class="anchor" id="a063f9591d4c07340e4647247575a3091"></a><!-- doxytag: member="XNumberBase::getTypeString" ref="a063f9591d4c07340e4647247575a3091" 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; XNumberBase::getTypeString </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Given a request type, return the equivalent string. </p>
<p>For diagnostic purposes.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>string for type </dd></dl>
<p>Implements <a class="el" href="classXObject.html#ab62a47b5585aead1f04dd67057c6bac7">XObject</a>.</p>
</div>
</div>
<a class="anchor" id="a572b7ef1934674807094276adcd7616c"></a><!-- doxytag: member="XNumberBase::num" ref="a572b7ef1934674807094276adcd7616c" args="(XPathExecutionContext &amp;executionContext) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XNumberBase::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> [pure 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>Reimplemented from <a class="el" href="classXObject.html#a4cb3578404b7ec57eae79fea6560f710">XObject</a>.</p>
<p>Implemented in <a class="el" href="classXNumber.html#aecf9b2c7fad7b0575d99c69b67141474">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#a8ccf0d8430fece974c4743b9c9584d1e">XTokenNumberAdapter</a>.</p>
</div>
</div>
<a class="anchor" id="a1f8ba98b82855dc08216fb03d7afe507"></a><!-- doxytag: member="XNumberBase::ProcessXObjectTypeCallback" ref="a1f8ba98b82855dc08216fb03d7afe507" args="(XObjectTypeCallback &amp;theCallbackObject)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumberBase::ProcessXObjectTypeCallback </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXObjectTypeCallback.html">XObjectTypeCallback</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theCallbackObject</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Process a callback request for preferred type information. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theCallbackObject</em>&nbsp;</td><td>object to call back </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXObject.html#a4bac0f3361a5d2d6b900308ad94c27d8">XObject</a>.</p>
</div>
</div>
<a class="anchor" id="a1e52f5b79c871383f86f01894dfa5680"></a><!-- doxytag: member="XNumberBase::ProcessXObjectTypeCallback" ref="a1e52f5b79c871383f86f01894dfa5680" args="(XObjectTypeCallback &amp;theCallbackObject) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumberBase::ProcessXObjectTypeCallback </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXObjectTypeCallback.html">XObjectTypeCallback</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theCallbackObject</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Process a callback request for preferred type information. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theCallbackObject</em>&nbsp;</td><td>object to call back </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXObject.html#ad90e310e891c8feef71da0fa0f7b5696">XObject</a>.</p>
</div>
</div>
<a class="anchor" id="ae9d0540c5921f4ec63fe1cc59b0f0943"></a><!-- doxytag: member="XNumberBase::str" ref="ae9d0540c5921f4ec63fe1cc59b0f0943" args="(XPathExecutionContext &amp;executionContext) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; XNumberBase::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> [pure 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="classXObject.html#ae262489aa21c0d8fe857faf218435bf0">XObject</a>.</p>
<p>Implemented in <a class="el" href="classXNumber.html#a30104f30d3f114e4b6bd540e753477fd">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#a538b1dbf4bb9a6547a887cec95dc7f13">XTokenNumberAdapter</a>.</p>
</div>
</div>
<a class="anchor" id="a14c2b11cac854a9bc52e0b87a4c73368"></a><!-- doxytag: member="XNumberBase::str" ref="a14c2b11cac854a9bc52e0b87a4c73368" args="(FormatterListener &amp;formatterListener, MemberFunctionPtr function) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumberBase::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> [pure 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="classXObject.html#a1eaef4bdc0f494d12d07e9cdcc45722d">XObject</a>.</p>
<p>Implemented in <a class="el" href="classXNumber.html#a097bfea60896037300f6069a7f635e25">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#ab0e12be69b583f690a4cd95823bc2411">XTokenNumberAdapter</a>.</p>
</div>
</div>
<a class="anchor" id="ac1e8d48f47e0b988f860c09f444a6327"></a><!-- doxytag: member="XNumberBase::str" ref="ac1e8d48f47e0b988f860c09f444a6327" args="(XPathExecutionContext &amp;executionContext, FormatterListener &amp;formatterListener, MemberFunctionPtr function) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumberBase::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> [pure 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="classXObject.html#a946fb2e5352b8257cfaf40f55b077607">XObject</a>.</p>
<p>Implemented in <a class="el" href="classXNumber.html#ac8abf67d3af67f4f10088a9b33037e72">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#abbf664144bd7f3303725bda7e6a4204f">XTokenNumberAdapter</a>.</p>
</div>
</div>
<a class="anchor" id="ae2763f5205cf981d2ce0dc2c3ae8d918"></a><!-- doxytag: member="XNumberBase::str" ref="ae2763f5205cf981d2ce0dc2c3ae8d918" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; XNumberBase::str </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [pure 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="classXObject.html#a0fc1c7e495a1c61c0a5fe06abf308c63">XObject</a>.</p>
<p>Implemented in <a class="el" href="classXNumber.html#a7f8cd0dbbe6f158454319de7db9dfec1">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#a70434da2738193ed24ef8f3bd8d8e113">XTokenNumberAdapter</a>.</p>
</div>
</div>
<a class="anchor" id="aa46286faf6f9d860415e60719ffd3be4"></a><!-- doxytag: member="XNumberBase::str" ref="aa46286faf6f9d860415e60719ffd3be4" args="(XPathExecutionContext &amp;executionContext, XalanDOMString &amp;theBuffer) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumberBase::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> [pure 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="classXObject.html#aa6a4f612203757f3f480f9ae70b6ba77">XObject</a>.</p>
<p>Implemented in <a class="el" href="classXNumber.html#af60f41f153efa3ed85172c52ba1d6873">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#ad42eb565f8c7d08411c450a325ddbb46">XTokenNumberAdapter</a>.</p>
</div>
</div>
<a class="anchor" id="ac5700a378b79e922c398b2152ea616c3"></a><!-- doxytag: member="XNumberBase::str" ref="ac5700a378b79e922c398b2152ea616c3" args="(XalanDOMString &amp;theBuffer) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumberBase::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> [pure 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="classXObject.html#a0de023b96d4cf82929c6270c34622741">XObject</a>.</p>
<p>Implemented in <a class="el" href="classXNumber.html#a6310b4d8efa8474440959e4a697c8d91">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#a6ed2ce295412ab1a52787f5ce55839d9">XTokenNumberAdapter</a>.</p>
</div>
</div>
<a class="anchor" id="a59ee699917955d5d3651e83b9e3a0e7a"></a><!-- doxytag: member="XNumberBase::stringLength" ref="a59ee699917955d5d3651e83b9e3a0e7a" args="(XPathExecutionContext &amp;executionContext) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XNumberBase::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> [pure 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="classXObject.html#aca3e2bfdb8dddf4eab4db9faf04d4a20">XObject</a>.</p>
<p>Implemented in <a class="el" href="classXNumber.html#ae159e6189f5dc084b7bd6f5af5cd8f11">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#a7f3e28a1edcd7841d7a1df4256715689">XTokenNumberAdapter</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XNumberBase_8hpp_source.html">XNumberBase.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>