<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.4</h3> </BODY> <!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:34:50 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>XalanUTF16Transcoder Class Reference</h1><code>#include <<a class="el" href="XalanUTF16Transcoder.hpp-source.html">XalanUTF16Transcoder.hpp</a>></code> <p> <p>Inheritance diagram for XalanUTF16Transcoder: <p><center><img src="class_xalanutf16transcoder.gif" usemap="#XalanUTF16Transcoder_map" border="0"></center> <map name="XalanUTF16Transcoder_map"><p> <area href="class_xalanoutputtranscoder.html" alt="XalanOutputTranscoder" shape="rect" coords="0,0,147,24"> </map> Collaboration diagram for XalanUTF16Transcoder:<p><center><img src="class_xalanutf16transcoder_coll_graph.gif" border="0" usemap="#XalanUTF16Transcoder_impl_map"></center> <map name="XalanUTF16Transcoder_impl_map"> <area href="class_xalanoutputtranscoder.html" shape="rect" coords="7,37,156,16"> </map><p> <a href="class_xalanutf16transcoder-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li>explicit <a class="el" href="class_xalanutf16transcoder.html#a0">XalanUTF16Transcoder</a> () <li>virtual <a class="el" href="class_xalanutf16transcoder.html#a1">~XalanUTF16Transcoder</a> () <li>virtual <a class="el" href="class_xalanoutputtranscoder.html#s1">eCode</a> <a class="el" href="class_xalanutf16transcoder.html#a2">transcode</a> ( const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a>* theSourceData, size_t theSourceCount, <a class="el" href="class_xalanoutputtranscoder.html#s0">XalanXMLByte</a>* theTarget, size_t theTargetSize, size_t& theSourceCharsTranscoded, size_t& theTargetBytesUsed) <dl class="el"><dd><font size=-1><em>Transcode data from UTF-16 to UTF-16.</em> <a href="#a2">More...</a><em></em></font></dl><li>virtual <a class="el" href="class_xalanoutputtranscoder.html#s1">eCode</a> <a class="el" href="class_xalanutf16transcoder.html#a3">transcode</a> ( const <a class="el" href="class_xalanoutputtranscoder.html#s0">XalanXMLByte</a>* theSourceData, size_t theSourceCount, <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a>* theTarget, size_t theTargetSize, size_t& theSourceCharsTranscoded, size_t& theTargetBytesUsed, unsigned char* theCharSizes) <dl class="el"><dd><font size=-1><em>Transcode data from UTF-16 to UTF-16.</em> <a href="#a3">More...</a><em></em></font></dl><li>virtual bool <a class="el" href="class_xalanutf16transcoder.html#a4">canTranscodeTo</a> (unsigned int theChar) const </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XalanUTF16Transcoder::XalanUTF16Transcoder"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> explicit XalanUTF16Transcoder::XalanUTF16Transcoder ()</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a1" doxytag="XalanUTF16Transcoder::~XalanUTF16Transcoder"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> virtual XalanUTF16Transcoder::~XalanUTF16Transcoder ()<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Member Function Documentation</h2> <a name="a4" doxytag="XalanUTF16Transcoder::canTranscodeTo"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> virtual bool XalanUTF16Transcoder::canTranscodeTo ( </b></td> <td><b> unsigned int <em>theChar</em>) const<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> <p> Reimplemented from <a class="el" href="class_xalanoutputtranscoder.html#a4">XalanOutputTranscoder</a>.</div> <a name="a3" doxytag="XalanUTF16Transcoder::transcode"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xalanoutputtranscoder.html#s1">eCode</a> XalanUTF16Transcoder::transcode ( </b></td> <td><b> const <a class="el" href="class_xalanoutputtranscoder.html#s0">XalanXMLByte</a> * <em>theSourceData</em>, </b></td></tr> <tr><td></td><td><b> size_t <em>theSourceCount</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> * <em>theTarget</em>, </b></td></tr> <tr><td></td><td><b> size_t <em>theTargetSize</em>, </b></td></tr> <tr><td></td><td><b> size_t & <em>theSourceCharsTranscoded</em>, </b></td></tr> <tr><td></td><td><b> size_t & <em>theTargetBytesUsed</em>, </b></td></tr> <tr><td></td><td><b> unsigned char * <em>theCharSizes</em>)<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Transcode data from UTF-16 to UTF-16. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theSourceData</em> </td><td> The source data to transcode </td></tr> <tr><td valign=top><em>theSourceCount</em> </td><td> The length of the source data. </td></tr> <tr><td valign=top><em>theResult</em> </td><td> The error code, if any. </td></tr> <tr><td valign=top><em>theTarget</em> </td><td> The target array for storing the transcoded data. </td></tr> <tr><td valign=top><em>theTargetSize</em> </td><td> The number of characters that can be stored in the target. </td></tr> <tr><td valign=top><em>theSourceCharsTranscoded</em> </td><td> The count of the source characters that were transcoded. </td></tr> <tr><td valign=top><em>theTargetBytesUsed</em> </td><td> The number of characters stored in the target array </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> The result code. </dl> <p> Reimplemented from <a class="el" href="class_xalanoutputtranscoder.html#a3">XalanOutputTranscoder</a>.</div> <a name="a2" doxytag="XalanUTF16Transcoder::transcode"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xalanoutputtranscoder.html#s1">eCode</a> XalanUTF16Transcoder::transcode ( </b></td> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> * <em>theSourceData</em>, </b></td></tr> <tr><td></td><td><b> size_t <em>theSourceCount</em>, </b></td></tr> <tr><td></td><td><b> <a class="el" href="class_xalanoutputtranscoder.html#s0">XalanXMLByte</a> * <em>theTarget</em>, </b></td></tr> <tr><td></td><td><b> size_t <em>theTargetSize</em>, </b></td></tr> <tr><td></td><td><b> size_t & <em>theSourceCharsTranscoded</em>, </b></td></tr> <tr><td></td><td><b> size_t & <em>theTargetBytesUsed</em>)<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Transcode data from UTF-16 to UTF-16. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theSourceData</em> </td><td> The source data to transcode </td></tr> <tr><td valign=top><em>theSourceCount</em> </td><td> The length of the source data. </td></tr> <tr><td valign=top><em>theResult</em> </td><td> The error code, if any. </td></tr> <tr><td valign=top><em>theTarget</em> </td><td> The target array for storing the transcoded data. </td></tr> <tr><td valign=top><em>theTargetSize</em> </td><td> The number of characters that can be stored in the target. </td></tr> <tr><td valign=top><em>theSourceCharsTranscoded</em> </td><td> The count of the source characters that were transcoded. </td></tr> <tr><td valign=top><em>theTargetBytesUsed</em> </td><td> The number of characters stored in the target array </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> The result code. </dl> <p> Reimplemented from <a class="el" href="class_xalanoutputtranscoder.html#a2">XalanOutputTranscoder</a>.</div> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XalanUTF16Transcoder.hpp.html">XalanUTF16Transcoder.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="images/dot.gif" width="1"></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.4</B><BR> Copyright © 2000, 2001, 2002 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"> </TD> </TR> </TABLE>