blob: fde63a4603d33e08c4feb73798e3d219ed84041d [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>XStringAdapter Class Reference</h1><code>#include &lt;<a class="el" href="XStringAdapter_8hpp-source.html">XStringAdapter.hpp</a>&gt;</code>
<p>
Inheritance diagram for XStringAdapter:<p><center><img src="classXStringAdapter__inherit__graph.gif" border="0" usemap="#XStringAdapter_inherit_map" alt="Inheritance graph"></center>
<map name="XStringAdapter_inherit_map">
<area href="classXStringBase.html" shape="rect" coords="58,192,152,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 XStringAdapter:<p><center><img src="classXStringAdapter__coll__graph.gif" border="0" usemap="#XStringAdapter_coll_map" alt="Collaboration graph"></center>
<map name="XStringAdapter_coll_map">
<area href="classXStringBase.html" shape="rect" coords="435,594,529,570">
<area href="classXObject.html" shape="rect" coords="503,312,570,288">
<area href="classXObjectResultTreeFragProxyText.html" shape="rect" coords="236,402,449,378">
<area href="classXObjectPtr.html" shape="rect" coords="523,453,609,429">
<area href="classXalanReferenceCountedObject.html" shape="rect" coords="498,120,695,96">
<area href="classXalanDOMString.html" shape="rect" coords="197,120,314,96">
<area href="classXObjectResultTreeFragProxyBase.html" shape="rect" coords="6,312,222,288">
<area href="classXObjectFactory.html" shape="rect" coords="719,120,829,96">
<area href="classXObjectResultTreeFragProxy.html" shape="rect" coords="248,504,437,480">
<area href="classXalanDocumentFragment.html" shape="rect" coords="8,120,173,96">
<area href="classXalanNode.html" shape="rect" coords="241,42,321,18">
<area href="classXalanCharacterData.html" shape="rect" coords="338,120,474,96">
<area href="classXalanText.html" shape="rect" coords="384,312,461,288">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXStringAdapter-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef <a class="el" href="classXStringBase.html">XStringBase</a> <a class="el" href="classXStringAdapter.html#s0">ParentType</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classXStringAdapter.html#a0">XStringAdapter</a> (const <a class="el" href="classXObjectPtr.html">XObjectPtr</a> &amp;val, <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<dl class="el"><dd><font size=-1><em>Create a string <a class="el" href="classXObject.html">XObject</a> that will adapt another <a class="el" href="classXObject.html">XObject</a> to behave like a string.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXStringAdapter.html#a1">XStringAdapter</a> (const XStringAdapter &amp;source, <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<li>virtual <a class="el" href="classXStringAdapter.html#a2">~XStringAdapter</a> ()
<li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXStringAdapter.html#a3">str</a> () const
<dl class="el"><dd><font size=-1><em>Cast result object to a string.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXStringAdapter.html#a4">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="#a4">More...</a><em><br><br></em></font></dl><li>virtual double <a class="el" href="classXStringAdapter.html#a5">stringLength</a> () const
<dl class="el"><dd><font size=-1><em>Get the length of the string value of the instance..</em> <a href="#a5">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="classXStringAdapter.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>Member Typedef Documentation</h2>
<a name="s0" doxytag="XStringAdapter::ParentType"></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>
typedef <a class="el" href="classXStringBase.html">XStringBase</a> XStringAdapter::ParentType
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Reimplemented from <a class="el" href="classXStringBase.html#s0">XStringBase</a>. </td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="XStringAdapter::XStringAdapter"></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>
XStringAdapter::XStringAdapter (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXObjectPtr.html">XObjectPtr</a> &amp; <em>val</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create a string <a class="el" href="classXObject.html">XObject</a> that will adapt another <a class="el" href="classXObject.html">XObject</a> to behave like a string.
<p>
The <a class="el" href="classXObject.html">XObject</a> holds a reference to the other <a class="el" href="classXObject.html">XObject</a>.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theValue</em>
&nbsp;</td><td>
value used to create object </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a1" doxytag="XStringAdapter::XStringAdapter"></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>
XStringAdapter::XStringAdapter (
</b></td>
<td valign="bottom"><b>
const XStringAdapter &amp; <em>source</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</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="XStringAdapter::~XStringAdapter"></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>
XStringAdapter::~XStringAdapter (
</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="XStringAdapter::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> XStringAdapter::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="a4" doxytag="XStringAdapter::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 XStringAdapter::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="classXStringBase.html#a8">XStringBase</a>. </td>
</tr>
</table>
<a name="a3" doxytag="XStringAdapter::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; XStringAdapter::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="classXStringBase.html#a7">XStringBase</a>. </td>
</tr>
</table>
<a name="a5" doxytag="XStringAdapter::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 XStringAdapter::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="classXStringBase.html#a9">XStringBase</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XStringAdapter_8hpp-source.html">XStringAdapter.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>