<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD> <BODY> <h2 align="center">Xalan-C++ API Documentation</h2> <h3 align="center">The Xalan C++ XSL Transformer Version 1.1</h3> </BODY> <!-- Generated by Doxygen 1.2.0 on Thu Feb 15 10:49:27 2001 --> <center> <a class="qindex" href="index.html">Main Page</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>XalanOutputTranscoder Class Reference</h1><code>#include <<a class="el" href="XalanTranscodingServices.hpp-source.html">XalanTranscodingServices.hpp</a>></code> <p> Inheritance diagram for XalanOutputTranscoder<p><center><img src="class_xalanoutputtranscoder_inherit_graph.gif" border="0" usemap="#XalanOutputTranscoder_inherit_map" alt="Inheritance graph"></center> <map name="XalanOutputTranscoder_inherit_map"> <area href="class_xalantoxercestranscoderwrapper.html" shape="rect" coords="0,66,203,85"> <area href="class_xalanutf16transcoder.html" shape="rect" coords="227,66,368,85"> </map><p> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_xalanoutputtranscoder-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef XalanTranscodingServices::XalanXMLByte <a class="el" href="class_xalanoutputtranscoder.html#s0">XalanXMLByte</a> <li>typedef XalanTranscodingServices::eCode <a class="el" href="class_xalanoutputtranscoder.html#s1">eCode</a> </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="class_xalanoutputtranscoder.html#a0">XalanOutputTranscoder</a> () <li>virtual <a class="el" href="class_xalanoutputtranscoder.html#a1">~XalanOutputTranscoder</a> () <li>virtual <a class="el" href="class_xalanoutputtranscoder.html#s1">eCode</a> <a class="el" href="class_xalanoutputtranscoder.html#a2">transcode</a> ( const <a class="el" href="XalanDOMString.hpp.html#a1">XalanDOMChar</a>* theSourceData, unsigned int theSourceCount, <a class="el" href="class_xalanoutputtranscoder.html#s0">XalanXMLByte</a>* theTarget, unsigned int theTargetSize, unsigned int& theSourceCharsTranscoded, unsigned int& theTargetBytesUsed) = 0 <dl class="el"><dd><font size=-1><em>Transcode data from UTF-16 to the transcoder's encoding.</em> <a href="#a2">More...</a><em><br><br></em></font></dl></ul> <hr><h2>Member Typedef Documentation</h2> <a name="s0" doxytag="XalanOutputTranscoder::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 XalanTranscodingServices::XalanXMLByte XalanOutputTranscoder::XalanXMLByte </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s1" doxytag="XalanOutputTranscoder::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> typedef XalanTranscodingServices::eCode XalanOutputTranscoder::eCode </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XalanOutputTranscoder::XalanOutputTranscoder"></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> XalanOutputTranscoder::XalanOutputTranscoder ( </b></td> <td valign="bottom"><b> )<code> [explicit]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a1" doxytag="XalanOutputTranscoder::~XalanOutputTranscoder"></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> virtual XalanOutputTranscoder::~XalanOutputTranscoder ( </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> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="XalanOutputTranscoder::transcode"></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="class_xalanoutputtranscoder.html#s1">eCode</a> XalanOutputTranscoder::transcode ( </b></td> <td valign="bottom"><b> const <a class="el" href="XalanDOMString.hpp.html#a1">XalanDOMChar</a> * <em>theSourceData</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned int <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> unsigned int <em>theTargetSize</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned int & <em>theSourceCharsTranscoded</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned int & <em>theTargetBytesUsed</em> )<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Transcode data from UTF-16 to the transcoder's encoding. <p> If successfull, theResult will be set to OK. If not, it will be set to one of the other codes.<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>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 in <a class="el" href="class_xalantoxercestranscoderwrapper.html#a2">XalanToXercesTranscoderWrapper</a>, and <a class="el" href="class_xalanutf16transcoder.html#a2">XalanUTF16Transcoder</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XalanTranscodingServices.hpp-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="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++ XSL Transformer Version 1.1</B><BR> Copyright © 2000, 2001 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>