blob: 3319aaefda5c047d0d9d6340e4c08996eee7d362 [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>XTokenStringAdapter Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XTokenStringAdapter" --><!-- doxytag: inherits="XStringBase" -->
<p><code>#include &lt;<a class="el" href="XTokenStringAdapter_8hpp_source.html">XTokenStringAdapter.hpp</a>&gt;</code></p>
<p>Inherits <a class="el" href="classXStringBase.html">XStringBase</a>.</p>
<div class="dynheader">
Collaboration diagram for XTokenStringAdapter:</div>
<div class="dyncontent">
<div class="center"><img src="classXTokenStringAdapter__coll__graph.png" border="0" usemap="#XTokenStringAdapter_coll__map" alt="Collaboration graph"/></div>
<map name="XTokenStringAdapter_coll__map" id="XTokenStringAdapter_coll__map">
<area shape="rect" id="node2" href="classXStringBase.html" title="XStringBase" alt="" coords="1892,199,1993,228"/><area shape="rect" id="node4" href="classXObject.html" title="Class to hold XPath return types." alt="" coords="860,197,932,227"/><area shape="rect" id="node23" href="classXObjectResultTreeFragProxyText.html" title="XObjectResultTreeFragProxyText" alt="" coords="1196,337,1423,367"/><area shape="rect" id="node39" href="classXToken.html" title="XToken" alt="" coords="1275,147,1344,176"/><area shape="rect" id="node6" href="classXalanReferenceCountedObject.html" title="Class to hold reference count information." alt="" coords="333,5,552,35"/><area shape="rect" id="node8" href="classXObjectFactory.html" title="This class handles the creation of XObjects and manages their lifetime." alt="" coords="384,404,501,433"/><area shape="rect" id="node32" href="classXPathExecutionContext.html" title="XPathExecutionContext" alt="" coords="809,404,983,433"/><area shape="rect" id="node10" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="379,221,507,251"/><area shape="rect" id="node16" href="classXObjectResultTreeFragProxyBase.html" title="XObjectResultTreeFragProxyBase" alt="" coords="779,280,1013,309"/><area shape="rect" id="node12" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="7,221,233,251"/><area shape="rect" id="node14" href="classXObjectResultTreeFragProxy.html" title="XObjectResultTreeFragProxy" alt="" coords="1528,280,1731,309"/><area shape="rect" id="node18" href="classXalanDocumentFragment.html" title="XalanDocumentFragment" alt="" coords="349,351,536,380"/><area shape="rect" id="node20" href="classXalanNode.html" title="XalanNode" alt="" coords="73,421,167,451"/><area shape="rect" id="node27" href="classXalanCharacterData.html" title="XalanCharacterData" alt="" coords="367,457,519,487"/><area shape="rect" id="node25" href="classXalanText.html" title="XalanText" alt="" coords="853,457,939,487"/><area shape="rect" id="node34" href="classExecutionContext.html" title="ExecutionContext" alt="" coords="376,511,509,540"/><area shape="rect" id="node36" href="classProblemListenerBase.html" title="This is the abstract class that is used when reporting a problem some kind, that requires a message..." alt="" coords="41,511,199,540"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXTokenStringAdapter-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXTokenStringAdapter.html#aeeae424c1c41c71a03342ca521b6fd8c">XTokenStringAdapter</a> (const <a class="el" href="classXToken.html">XToken</a> &amp;theToken, MemoryManager &amp;theManager)
<dl class="el"><dd class="mdescRight">Create an <a class="el" href="classXTokenStringAdapter.html">XTokenStringAdapter</a> from an <a class="el" href="classXToken.html">XToken</a>. <a href="#aeeae424c1c41c71a03342ca521b6fd8c"></a><br/></dl><li><a class="el" href="classXTokenStringAdapter.html#ad3ec0d4b90aa83b528ad7f7cd8d81abc">XTokenStringAdapter</a> (const <a class="el" href="classXTokenStringAdapter.html">XTokenStringAdapter</a> &amp;source, MemoryManager &amp;theManager)
<li>virtual <a class="el" href="classXTokenStringAdapter.html#aadd6bb968252ce9ed7edffd7fd4a92c5">~XTokenStringAdapter</a> ()
<li>virtual double <a class="el" href="classXTokenStringAdapter.html#ae6608e8e537ce4d608afd5a280593975">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="#ae6608e8e537ce4d608afd5a280593975"></a><br/></dl><li>virtual double <a class="el" href="classXTokenStringAdapter.html#a7c2a0b7dff609a26ae4658cba3777657">num</a> () const
<dl class="el"><dd class="mdescRight">Cast result object to a number. <a href="#a7c2a0b7dff609a26ae4658cba3777657"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classXTokenStringAdapter.html#aab31c0e0b940f2b6d5580c13f8995b98">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="#aab31c0e0b940f2b6d5580c13f8995b98"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classXTokenStringAdapter.html#a1e134175e3cec1e8c1f481964888f0da">str</a> () const
<dl class="el"><dd class="mdescRight">Cast result object to a string. <a href="#a1e134175e3cec1e8c1f481964888f0da"></a><br/></dl><li>virtual void <a class="el" href="classXTokenStringAdapter.html#ad844121e65ee0bf9f648c3c7fc252597">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="#ad844121e65ee0bf9f648c3c7fc252597"></a><br/></dl><li>virtual void <a class="el" href="classXTokenStringAdapter.html#ac8814ce3b94dfc7b67a88b00b998be8a">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="#ac8814ce3b94dfc7b67a88b00b998be8a"></a><br/></dl><li>virtual void <a class="el" href="classXTokenStringAdapter.html#ac56449f781991f38427fe9b7944a3243">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="#ac56449f781991f38427fe9b7944a3243"></a><br/></dl><li>virtual void <a class="el" href="classXTokenStringAdapter.html#a944053507e16d6d33366629f657aeeb2">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="#a944053507e16d6d33366629f657aeeb2"></a><br/></dl><li>virtual double <a class="el" href="classXTokenStringAdapter.html#ac45fb8f74b2bee20631a2f3928e3b0c0">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="#ac45fb8f74b2bee20631a2f3928e3b0c0"></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="classXTokenStringAdapter.html#a6508ad30ba1ec4f6d4e4110517c13ace">getRealType</a> () const
<dl class="el"><dd class="mdescRight">Tell what kind of class this is. <a href="#a6508ad30ba1ec4f6d4e4110517c13ace"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="XTokenStringAdapter_8hpp_source.html#l00045">45</a> of file <a class="el" href="XTokenStringAdapter_8hpp_source.html">XTokenStringAdapter.hpp</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aeeae424c1c41c71a03342ca521b6fd8c"></a><!-- doxytag: member="XTokenStringAdapter::XTokenStringAdapter" ref="aeeae424c1c41c71a03342ca521b6fd8c" args="(const XToken &amp;theToken, MemoryManager &amp;theManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XTokenStringAdapter::XTokenStringAdapter </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>theManager</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="classXTokenStringAdapter.html">XTokenStringAdapter</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>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ad3ec0d4b90aa83b528ad7f7cd8d81abc"></a><!-- doxytag: member="XTokenStringAdapter::XTokenStringAdapter" ref="ad3ec0d4b90aa83b528ad7f7cd8d81abc" args="(const XTokenStringAdapter &amp;source, MemoryManager &amp;theManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XTokenStringAdapter::XTokenStringAdapter </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXTokenStringAdapter.html">XTokenStringAdapter</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>theManager</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aadd6bb968252ce9ed7edffd7fd4a92c5"></a><!-- doxytag: member="XTokenStringAdapter::~XTokenStringAdapter" ref="aadd6bb968252ce9ed7edffd7fd4a92c5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XTokenStringAdapter::~XTokenStringAdapter </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="a6508ad30ba1ec4f6d4e4110517c13ace"></a><!-- doxytag: member="XTokenStringAdapter::getRealType" ref="a6508ad30ba1ec4f6d4e4110517c13ace" 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> XTokenStringAdapter::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="ae6608e8e537ce4d608afd5a280593975"></a><!-- doxytag: member="XTokenStringAdapter::num" ref="ae6608e8e537ce4d608afd5a280593975" args="(XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XTokenStringAdapter::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>Reimplemented from <a class="el" href="classXStringBase.html#a8f106afcc5ac5a1e33a04e87fe20a689">XStringBase</a>.</p>
</div>
</div>
<a class="anchor" id="a7c2a0b7dff609a26ae4658cba3777657"></a><!-- doxytag: member="XTokenStringAdapter::num" ref="a7c2a0b7dff609a26ae4658cba3777657" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XTokenStringAdapter::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="a1e134175e3cec1e8c1f481964888f0da"></a><!-- doxytag: member="XTokenStringAdapter::str" ref="a1e134175e3cec1e8c1f481964888f0da" 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; XTokenStringAdapter::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="classXStringBase.html#ad39718043b930cb9ba6189367afb0f13">XStringBase</a>.</p>
</div>
</div>
<a class="anchor" id="ac56449f781991f38427fe9b7944a3243"></a><!-- doxytag: member="XTokenStringAdapter::str" ref="ac56449f781991f38427fe9b7944a3243" args="(XPathExecutionContext &amp;executionContext, XalanDOMString &amp;theBuffer) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XTokenStringAdapter::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="classXStringBase.html#a1e101e8e4ddb60b64d0f34a59aab0de4">XStringBase</a>.</p>
</div>
</div>
<a class="anchor" id="ac8814ce3b94dfc7b67a88b00b998be8a"></a><!-- doxytag: member="XTokenStringAdapter::str" ref="ac8814ce3b94dfc7b67a88b00b998be8a" args="(FormatterListener &amp;formatterListener, MemberFunctionPtr function) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XTokenStringAdapter::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="classXStringBase.html#a398ddbbb9e1a02f2bef0fc8ad034b63d">XStringBase</a>.</p>
</div>
</div>
<a class="anchor" id="ad844121e65ee0bf9f648c3c7fc252597"></a><!-- doxytag: member="XTokenStringAdapter::str" ref="ad844121e65ee0bf9f648c3c7fc252597" 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 XTokenStringAdapter::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="classXStringBase.html#af11899c7375cc6f873a1a14572ec2959">XStringBase</a>.</p>
</div>
</div>
<a class="anchor" id="a944053507e16d6d33366629f657aeeb2"></a><!-- doxytag: member="XTokenStringAdapter::str" ref="a944053507e16d6d33366629f657aeeb2" args="(XalanDOMString &amp;theBuffer) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XTokenStringAdapter::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="classXStringBase.html#a0f382a77c9267a70216b6d0aae84b744">XStringBase</a>.</p>
</div>
</div>
<a class="anchor" id="aab31c0e0b940f2b6d5580c13f8995b98"></a><!-- doxytag: member="XTokenStringAdapter::str" ref="aab31c0e0b940f2b6d5580c13f8995b98" 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; XTokenStringAdapter::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="classXStringBase.html#a2079ee6bcca087e7697f91dcb8a07617">XStringBase</a>.</p>
</div>
</div>
<a class="anchor" id="ac45fb8f74b2bee20631a2f3928e3b0c0"></a><!-- doxytag: member="XTokenStringAdapter::stringLength" ref="ac45fb8f74b2bee20631a2f3928e3b0c0" args="(XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XTokenStringAdapter::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="classXStringBase.html#aa3ed8c111de72607b8e532f0a76de53c">XStringBase</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XTokenStringAdapter_8hpp_source.html">XTokenStringAdapter.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>