blob: f13cc604e1e0f48c4fa0510402d04cae821ca2d0 [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>XalanTranscodingServices Class Reference</h1><code>#include &lt;<a class="el" href="XalanTranscodingServices_8hpp-source.html">XalanTranscodingServices.hpp</a>&gt;</code>
<p>
<a href="classXalanTranscodingServices-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef unsigned char <a class="el" href="classXalanTranscodingServices.html#s0">XalanXMLByte</a>
<li>typedef unsigned int <a class="el" href="classXalanTranscodingServices.html#s1">size_type</a>
<li>typedef unsigned int <a class="el" href="classXalanTranscodingServices.html#s2">UnicodeCharType</a>
<li>enum <a class="el" href="classXalanTranscodingServices.html#s7">eCode</a> { <a class="el" href="classXalanTranscodingServices.html#s7s3">OK</a>,
<a class="el" href="classXalanTranscodingServices.html#s7s4">UnsupportedEncoding</a>,
<a class="el" href="classXalanTranscodingServices.html#s7s5">InternalFailure</a>,
<a class="el" href="classXalanTranscodingServices.html#s7s6">SupportFilesNotFound</a>
}
</ul>
<h2>Static Public Methods</h2>
<ul>
<li>void <a class="el" href="classXalanTranscodingServices.html#d0">initialize</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<dl class="el"><dd><font size=-1><em>Perform static initialization.</em> <a href="#d0">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTranscodingServices.html#d1">terminate</a> ()
<dl class="el"><dd><font size=-1><em>Perform static shut down.</em> <a href="#d1">More...</a><em><br><br></em></font></dl><li><a class="el" href="classXalanTranscodingServices.html#s1">size_type</a> <a class="el" href="classXalanTranscodingServices.html#d2">length</a> (const <a class="el" href="classXalanTranscodingServices.html#s0">XalanXMLByte</a> *theBytes)
<li><a class="el" href="classXalanOutputTranscoder.html">XalanOutputTranscoder</a>* <a class="el" href="classXalanTranscodingServices.html#d3">makeNewTranscoder</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theEncodingName, <a class="el" href="classXalanTranscodingServices.html#s7">eCode</a> &amp;theResult, <a class="el" href="classXalanTranscodingServices.html#s1">size_type</a> theBlockSize)
<dl class="el"><dd><font size=-1><em>Create a transcoder instance for the specified encoding.</em> <a href="#d3">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classXalanTranscodingServices.html#d4">destroyTranscoder</a> (<a class="el" href="classXalanOutputTranscoder.html">XalanOutputTranscoder</a> *theTranscoder)
<dl class="el"><dd><font size=-1><em>Destroy a transcoder instance.</em> <a href="#d4">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTranscodingServices.html#d5">encodingIsUTF8</a> (const XalanDOMChar *theEncodingName)
<dl class="el"><dd><font size=-1><em>Determine if the encoding name supplied is equivalent to UTF-8.</em> <a href="#d5">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTranscodingServices.html#d6">encodingIsUTF8</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theEncodingName)
<dl class="el"><dd><font size=-1><em>Determine if the encoding name supplied is equivalent to UTF-8.</em> <a href="#d6">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTranscodingServices.html#d7">encodingIsUTF16</a> (const XalanDOMChar *theEncodingName)
<dl class="el"><dd><font size=-1><em>Determine if the encoding name supplied is equivalent to UTF-16.</em> <a href="#d7">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTranscodingServices.html#d8">encodingIsUTF16</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theEncodingName)
<dl class="el"><dd><font size=-1><em>Determine if the encoding name supplied is equivalent to UTF-16.</em> <a href="#d8">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTranscodingServices.html#d9">encodingIsUTF32</a> (const XalanDOMChar *theEncodingName)
<dl class="el"><dd><font size=-1><em>Determine if the encoding name supplied is equivalent to UTF-32.</em> <a href="#d9">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTranscodingServices.html#d10">encodingIsUTF32</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theEncodingName)
<dl class="el"><dd><font size=-1><em>Determine if the encoding name supplied is equivalent to UTF-32.</em> <a href="#d10">More...</a><em><br><br></em></font></dl><li>const <a class="el" href="classXalanTranscodingServices.html#s0">XalanXMLByte</a>* <a class="el" href="classXalanTranscodingServices.html#d11">getStreamProlog</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theEncodingName)
<dl class="el"><dd><font size=-1><em>Get an array that contains any leading bytes that should be written to an XML stream for the specified encoding.</em> <a href="#d11">More...</a><em><br><br></em></font></dl><li>XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#d12">getMaximumCharacterValue</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theEncoding)
<dl class="el"><dd><font size=-1><em>Get the maximum character value for the encoding.</em> <a href="#d12">More...</a><em><br><br></em></font></dl><li>XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#d13">getMaximumCharacterValue</a> ()
<dl class="el"><dd><font size=-1><em>Get the maximum character value for the local code page.</em> <a href="#d13">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTranscodingServices.html#d14">getBytesEqualChars</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theEncoding)
<dl class="el"><dd><font size=-1><em>Determine if the output stage can safely skip transcoding by truncating.</em> <a href="#d14">More...</a><em><br><br></em></font></dl><li>bool <a class="el" href="classXalanTranscodingServices.html#d15">canTranscodeToLocalCodePage</a> (<a class="el" href="classXalanTranscodingServices.html#s2">UnicodeCharType</a> theChar)
</ul>
<h2>Static Public Attributes</h2>
<ul>
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p0">s_utf8String</a> []
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p1">s_utf16String</a> []
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p2">s_utf16LEString</a> []
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p3">s_utf16BEString</a> []
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p4">s_utf32String</a> []
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p5">s_asciiString</a> []
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p6">s_usASCIIString</a> []
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p7">s_windows1250String</a> []
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p8">s_iso88591String</a> []
<li>const XalanDOMChar <a class="el" href="classXalanTranscodingServices.html#p9">s_shiftJISString</a> []
</ul>
<hr><h2>Member Typedef Documentation</h2>
<a name="s2" doxytag="XalanTranscodingServices::UnicodeCharType"></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 unsigned int XalanTranscodingServices::UnicodeCharType
</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="s0" doxytag="XalanTranscodingServices::XalanXMLByte"></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 unsigned char XalanTranscodingServices::XalanXMLByte
</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="s1" doxytag="XalanTranscodingServices::size_type"></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 unsigned int XalanTranscodingServices::size_type
</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 Enumeration Documentation</h2>
<a name="s7" doxytag="XalanTranscodingServices::eCode"></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>
enum XalanTranscodingServices::eCode
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<dl compact><dt>
<b>Enumeration values:</b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><a name="s7s3" doxytag="OK"></a><em>OK</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s7s4" doxytag="UnsupportedEncoding"></a><em>UnsupportedEncoding</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s7s5" doxytag="InternalFailure"></a><em>InternalFailure</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s7s6" doxytag="SupportFilesNotFound"></a><em>SupportFilesNotFound</em>
&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="d15" doxytag="XalanTranscodingServices::canTranscodeToLocalCodePage"></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>
bool XalanTranscodingServices::canTranscodeToLocalCodePage (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanTranscodingServices.html#s2">UnicodeCharType</a> <em>theChar</em>&nbsp;)<code> [static]</code>
</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="d4" doxytag="XalanTranscodingServices::destroyTranscoder"></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 XalanTranscodingServices::destroyTranscoder (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXalanOutputTranscoder.html">XalanOutputTranscoder</a> * <em>theTranscoder</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destroy a transcoder instance.
<p>
@theTranscoder The transcoder to destroy. </td>
</tr>
</table>
<a name="d8" doxytag="XalanTranscodingServices::encodingIsUTF16"></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>
bool XalanTranscodingServices::encodingIsUTF16 (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theEncodingName</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Determine if the encoding name supplied is equivalent to UTF-16.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncodingName</em>
&nbsp;</td><td>
The name of the output encoding. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
true or false </dl> </td>
</tr>
</table>
<a name="d7" doxytag="XalanTranscodingServices::encodingIsUTF16"></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>
bool XalanTranscodingServices::encodingIsUTF16 (
</b></td>
<td valign="bottom"><b>
const XalanDOMChar * <em>theEncodingName</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Determine if the encoding name supplied is equivalent to UTF-16.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncodingName</em>
&nbsp;</td><td>
The name of the output encoding. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
true or false </dl> </td>
</tr>
</table>
<a name="d10" doxytag="XalanTranscodingServices::encodingIsUTF32"></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>
bool XalanTranscodingServices::encodingIsUTF32 (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theEncodingName</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Determine if the encoding name supplied is equivalent to UTF-32.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncodingName</em>
&nbsp;</td><td>
The name of the output encoding. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
true or false </dl> </td>
</tr>
</table>
<a name="d9" doxytag="XalanTranscodingServices::encodingIsUTF32"></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>
bool XalanTranscodingServices::encodingIsUTF32 (
</b></td>
<td valign="bottom"><b>
const XalanDOMChar * <em>theEncodingName</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Determine if the encoding name supplied is equivalent to UTF-32.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncodingName</em>
&nbsp;</td><td>
The name of the output encoding. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
true or false </dl> </td>
</tr>
</table>
<a name="d6" doxytag="XalanTranscodingServices::encodingIsUTF8"></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>
bool XalanTranscodingServices::encodingIsUTF8 (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theEncodingName</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Determine if the encoding name supplied is equivalent to UTF-8.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncodingName</em>
&nbsp;</td><td>
The name of the output encoding. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
true or false </dl> </td>
</tr>
</table>
<a name="d5" doxytag="XalanTranscodingServices::encodingIsUTF8"></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>
bool XalanTranscodingServices::encodingIsUTF8 (
</b></td>
<td valign="bottom"><b>
const XalanDOMChar * <em>theEncodingName</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Determine if the encoding name supplied is equivalent to UTF-8.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncodingName</em>
&nbsp;</td><td>
The name of the output encoding. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
true or false </dl> </td>
</tr>
</table>
<a name="d14" doxytag="XalanTranscodingServices::getBytesEqualChars"></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>
bool XalanTranscodingServices::getBytesEqualChars (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theEncoding</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Determine if the output stage can safely skip transcoding by truncating.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncoding</em>
&nbsp;</td><td>
The encoding name. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
true if truncation is possible, false if not. </dl> </td>
</tr>
</table>
<a name="d13" doxytag="XalanTranscodingServices::getMaximumCharacterValue"></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>
XalanDOMChar XalanTranscodingServices::getMaximumCharacterValue (
</b></td>
<td valign="bottom"><b>
)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the maximum character value for the local code page.
<p>
This is now deprecated, since it's impossibly broken.
<p>
<dl compact><dt>
<b>Deprecated: </b><dd>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The maximum character value the local code page supports. </dl> </td>
</tr>
</table>
<a name="d12" doxytag="XalanTranscodingServices::getMaximumCharacterValue"></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>
XalanDOMChar XalanTranscodingServices::getMaximumCharacterValue (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theEncoding</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the maximum character value for the encoding.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncoding</em>
&nbsp;</td><td>
The encoding name. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The maximum character value the encoding supports. </dl> </td>
</tr>
</table>
<a name="d11" doxytag="XalanTranscodingServices::getStreamProlog"></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="classXalanTranscodingServices.html#s0">XalanXMLByte</a> * XalanTranscodingServices::getStreamProlog (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theEncodingName</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get an array that contains any leading bytes that should be written to an XML stream for the specified encoding.
<p>
For example, if the encoding is UTF-16, the vector will contain the appropriate byte order mark for the current platform. If there is no prolog for the encoding, or the encoding is unknown, an empty array is returned.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncodingName</em>
&nbsp;</td><td>
The name of the desired output encoding. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
An array containing the appropriate bytes. </dl> </td>
</tr>
</table>
<a name="d0" doxytag="XalanTranscodingServices::initialize"></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 XalanTranscodingServices::initialize (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Perform static initialization.
<p>
See class <a class="el" href="classPlatformSupportInit.html">PlatformSupportInit</a>. </td>
</tr>
</table>
<a name="d2" doxytag="XalanTranscodingServices::length"></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="classXalanTranscodingServices.html#s1">size_type</a> XalanTranscodingServices::length (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classXalanTranscodingServices.html#s0">XalanXMLByte</a> * <em>theBytes</em>&nbsp;)<code> [static]</code>
</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="d3" doxytag="XalanTranscodingServices::makeNewTranscoder"></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="classXalanOutputTranscoder.html">XalanOutputTranscoder</a> * XalanTranscodingServices::makeNewTranscoder (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <em>theEncodingName</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanTranscodingServices.html#s7">eCode</a> &amp; <em>theResult</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXalanTranscodingServices.html#s1">size_type</a> <em>theBlockSize</em>&nbsp;)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create a transcoder instance for the specified encoding.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theEncodingName</em>
&nbsp;</td><td>
The name of the desired output encoding. </td></tr>
<tr><td valign=top><em>theResult</em>
&nbsp;</td><td>
The error code. </td></tr>
<tr><td valign=top><em>theTarget</em>
&nbsp;</td><td>
The target array for storing the transcoded data. </td></tr>
<tr><td valign=top><em>theBlockSize</em>
&nbsp;</td><td>
The block size the transcoder should use. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
The new transcoder, or 0 if there was an error. </dl> </td>
</tr>
</table>
<a name="d1" doxytag="XalanTranscodingServices::terminate"></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 XalanTranscodingServices::terminate (
</b></td>
<td valign="bottom"><b>
)<code> [static]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Perform static shut down.
<p>
See class <a class="el" href="classPlatformSupportInit.html">PlatformSupportInit</a>. </td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="p5" doxytag="XalanTranscodingServices::s_asciiString"></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 XalanDOMChar XalanTranscodingServices::s_asciiString<code> [static]</code>
</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="p8" doxytag="XalanTranscodingServices::s_iso88591String"></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 XalanDOMChar XalanTranscodingServices::s_iso88591String<code> [static]</code>
</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="p9" doxytag="XalanTranscodingServices::s_shiftJISString"></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 XalanDOMChar XalanTranscodingServices::s_shiftJISString<code> [static]</code>
</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="p6" doxytag="XalanTranscodingServices::s_usASCIIString"></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 XalanDOMChar XalanTranscodingServices::s_usASCIIString<code> [static]</code>
</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="p3" doxytag="XalanTranscodingServices::s_utf16BEString"></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 XalanDOMChar XalanTranscodingServices::s_utf16BEString<code> [static]</code>
</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="p2" doxytag="XalanTranscodingServices::s_utf16LEString"></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 XalanDOMChar XalanTranscodingServices::s_utf16LEString<code> [static]</code>
</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="p1" doxytag="XalanTranscodingServices::s_utf16String"></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 XalanDOMChar XalanTranscodingServices::s_utf16String<code> [static]</code>
</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="p4" doxytag="XalanTranscodingServices::s_utf32String"></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 XalanDOMChar XalanTranscodingServices::s_utf32String<code> [static]</code>
</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="p0" doxytag="XalanTranscodingServices::s_utf8String"></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 XalanDOMChar XalanTranscodingServices::s_utf8String<code> [static]</code>
</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="p7" doxytag="XalanTranscodingServices::s_windows1250String"></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 XalanDOMChar XalanTranscodingServices::s_windows1250String<code> [static]</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>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XalanTranscodingServices_8hpp-source.html">XalanTranscodingServices.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>