source: NonGTP/Xerces/xerces/doc/html/apiDocs/TransService_8hpp-source.html @ 358

Revision 358, 50.0 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>TransService.hpp Source File</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
2  <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
3
4  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
5
6  <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
7  <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
8  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
9  <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
10  <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
11  <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
12
13  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
14  <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> 
15  <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
16  <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR> 
17
18  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> 
19  <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
20
21  <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
22  <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
23
24  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
25
26  <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
27  <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR> 
28  <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>
29
30  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
31
32  <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
33
34  <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
35
36
37<IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
38    <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
39
40            <P>
41<!-- Generated by Doxygen 1.2.14 -->
42<center>
43<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>
44<hr><h1>TransService.hpp</h1><a href="TransService_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
4500002 <font class="comment"> * Copyright 1999-2001,2004 The Apache Software Foundation.</font>
4600003 <font class="comment"> * </font>
4700004 <font class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</font>
4800005 <font class="comment"> * you may not use this file except in compliance with the License.</font>
4900006 <font class="comment"> * You may obtain a copy of the License at</font>
5000007 <font class="comment"> * </font>
5100008 <font class="comment"> *      http://www.apache.org/licenses/LICENSE-2.0</font>
5200009 <font class="comment"> * </font>
5300010 <font class="comment"> * Unless required by applicable law or agreed to in writing, software</font>
5400011 <font class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</font>
5500012 <font class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</font>
5600013 <font class="comment"> * See the License for the specific language governing permissions and</font>
5700014 <font class="comment"> * limitations under the License.</font>
5800015 <font class="comment"> */</font>
5900016
6000017 <font class="comment">/*</font>
6100018 <font class="comment"> * $Log: TransService.hpp,v $</font>
6200019 <font class="comment"> * Revision 1.14  2004/09/08 13:56:23  peiyongz</font>
6300020 <font class="comment"> * Apache License Version 2.0</font>
6400021 <font class="comment"> *</font>
6500022 <font class="comment"> * Revision 1.13  2004/05/19 20:51:20  peiyongz</font>
6600023 <font class="comment"> * XML1.0-3rd Edition: UTF_8</font>
6700024 <font class="comment"> *</font>
6800025 <font class="comment"> * Revision 1.12  2004/01/29 11:48:46  cargilld</font>
6900026 <font class="comment"> * Code cleanup changes to get rid of various compiler diagnostic messages.</font>
7000027 <font class="comment"> *</font>
7100028 <font class="comment"> * Revision 1.11  2003/12/24 15:24:13  cargilld</font>
7200029 <font class="comment"> * More updates to memory management so that the static memory manager.</font>
7300030 <font class="comment"> *</font>
7400031 <font class="comment"> * Revision 1.10  2003/11/24 19:52:06  neilg</font>
7500032 <font class="comment"> * allow classes derived from XMLTransService to tailor the intrinsic maps to their taste.</font>
7600033 <font class="comment"> *</font>
7700034 <font class="comment"> * Revision 1.9  2003/06/03 18:12:29  knoaman</font>
7800035 <font class="comment"> * Add default value for memory manager argument.</font>
7900036 <font class="comment"> *</font>
8000037 <font class="comment"> * Revision 1.8  2003/05/15 19:07:45  knoaman</font>
8100038 <font class="comment"> * Partial implementation of the configurable memory manager.</font>
8200039 <font class="comment"> *</font>
8300040 <font class="comment"> * Revision 1.7  2003/03/07 18:11:55  tng</font>
8400041 <font class="comment"> * Return a reference instead of void for operator=</font>
8500042 <font class="comment"> *</font>
8600043 <font class="comment"> * Revision 1.6  2003/02/04 22:11:52  peiyongz</font>
8700044 <font class="comment"> * bug#16784: Obsolete documentation on XMLTranscoder -- reported by</font>
8800045 <font class="comment"> * Colin Paul Adams, Preston Lancashire</font>
8900046 <font class="comment"> *</font>
9000047 <font class="comment"> * Revision 1.5  2002/11/25 21:27:52  tng</font>
9100048 <font class="comment"> * Performance: use XMLRecognizer::Encodings enum to make new transcode, faster than comparing the encoding string every time.</font>
9200049 <font class="comment"> *</font>
9300050 <font class="comment"> * Revision 1.4  2002/11/04 15:22:04  tng</font>
9400051 <font class="comment"> * C++ Namespace Support.</font>
9500052 <font class="comment"> *</font>
9600053 <font class="comment"> * Revision 1.3  2002/07/18 20:05:31  knoaman</font>
9700054 <font class="comment"> * Add a new feature to control strict IANA encoding name.</font>
9800055 <font class="comment"> *</font>
9900056 <font class="comment"> * Revision 1.2  2002/04/09 15:44:00  knoaman</font>
10000057 <font class="comment"> * Add lower case string support.</font>
10100058 <font class="comment"> *</font>
10200059 <font class="comment"> * Revision 1.1.1.1  2002/02/01 22:22:13  peiyongz</font>
10300060 <font class="comment"> * sane_include</font>
10400061 <font class="comment"> *</font>
10500062 <font class="comment"> * Revision 1.14  2001/11/01 23:37:07  jasons</font>
10600063 <font class="comment"> * 2001-11-01  Jason E. Stewart  &lt;jason@openinformatics.com&gt;</font>
10700064 <font class="comment"> *</font>
10800065 <font class="comment"> *  * src/util/TransService.hpp (Repository):</font>
10900066 <font class="comment"> *  Updated Doxygen documentation for XMLTranscoder class</font>
11000067 <font class="comment"> *</font>
11100068 <font class="comment"> * Revision 1.13  2001/05/11 13:26:30  tng</font>
11200069 <font class="comment"> * Copyright update.</font>
11300070 <font class="comment"> *</font>
11400071 <font class="comment"> * Revision 1.12  2001/01/25 19:19:32  tng</font>
11500072 <font class="comment"> * Let user add their encoding to the intrinsic mapping table.  Added by Khaled Noaman.</font>
11600073 <font class="comment"> *</font>
11700074 <font class="comment"> * Revision 1.11  2000/04/12 22:57:45  roddey</font>
11800075 <font class="comment"> * A couple of fixes to comments and parameter names to make them</font>
11900076 <font class="comment"> * more correct.</font>
12000077 <font class="comment"> *</font>
12100078 <font class="comment"> * Revision 1.10  2000/03/28 19:43:19  roddey</font>
12200079 <font class="comment"> * Fixes for signed/unsigned warnings. New work for two way transcoding</font>
12300080 <font class="comment"> * stuff.</font>
12400081 <font class="comment"> *</font>
12500082 <font class="comment"> * Revision 1.9  2000/03/17 23:59:54  roddey</font>
12600083 <font class="comment"> * Initial updates for two way transcoding support</font>
12700084 <font class="comment"> *</font>
12800085 <font class="comment"> * Revision 1.8  2000/03/02 19:54:46  roddey</font>
12900086 <font class="comment"> * This checkin includes many changes done while waiting for the</font>
13000087 <font class="comment"> * 1.1.0 code to be finished. I can't list them all here, but a list is</font>
13100088 <font class="comment"> * available elsewhere.</font>
13200089 <font class="comment"> *</font>
13300090 <font class="comment"> * Revision 1.7  2000/02/24 20:05:25  abagchi</font>
13400091 <font class="comment"> * Swat for removing Log from API docs</font>
13500092 <font class="comment"> *</font>
13600093 <font class="comment"> * Revision 1.6  2000/02/06 07:48:04  rahulj</font>
13700094 <font class="comment"> * Year 2K copyright swat.</font>
13800095 <font class="comment"> *</font>
13900096 <font class="comment"> * Revision 1.5  2000/01/25 22:49:55  roddey</font>
14000097 <font class="comment"> * Moved the supportsSrcOfs() method from the individual transcoder to the</font>
14100098 <font class="comment"> * transcoding service, where it should have been to begin with.</font>
14200099 <font class="comment"> *</font>
14300100 <font class="comment"> * Revision 1.4  2000/01/25 19:19:07  roddey</font>
14400101 <font class="comment"> * Simple addition of a getId() method to the xcode and netacess abstractions to</font>
14500102 <font class="comment"> * allow each impl to give back an id string.</font>
14600103 <font class="comment"> *</font>
14700104 <font class="comment"> * Revision 1.3  1999/12/18 00:18:10  roddey</font>
14800105 <font class="comment"> * More changes to support the new, completely orthagonal support for</font>
14900106 <font class="comment"> * intrinsic encodings.</font>
15000107 <font class="comment"> *</font>
15100108 <font class="comment"> * Revision 1.2  1999/12/15 19:41:28  roddey</font>
15200109 <font class="comment"> * Support for the new transcoder system, where even intrinsic encodings are</font>
15300110 <font class="comment"> * done via the same transcoder abstraction as external ones.</font>
15400111 <font class="comment"> *</font>
15500112 <font class="comment"> * Revision 1.1.1.1  1999/11/09 01:05:16  twl</font>
15600113 <font class="comment"> * Initial checkin</font>
15700114 <font class="comment"> *</font>
15800115 <font class="comment"> * Revision 1.2  1999/11/08 20:45:16  rahul</font>
15900116 <font class="comment"> * Swat for adding in Product name and CVS comment log variable.</font>
16000117 <font class="comment"> *</font>
16100118 <font class="comment"> */</font>
16200119
16300120 <font class="preprocessor">#ifndef TRANSSERVICE_HPP</font>
16400121 <font class="preprocessor"></font><font class="preprocessor">#define TRANSSERVICE_HPP</font>
16500122 <font class="preprocessor"></font>
16600123 <font class="preprocessor">#include &lt;<a class="code" href="XMemory_8hpp.html">xercesc/util/XMemory.hpp</a>&gt;</font>
16700124 <font class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</font>
16800125 <font class="preprocessor">#include &lt;xercesc/framework/XMLRecognizer.hpp&gt;</font>
16900126 <font class="preprocessor">#include &lt;xercesc/util/RefHashTableOf.hpp&gt;</font>
17000127 <font class="preprocessor">#include &lt;xercesc/util/RefVectorOf.hpp&gt;</font>
17100128
17200129 <a class="code" href="XercesDefs_8hpp.html#a2">XERCES_CPP_NAMESPACE_BEGIN</a>
17300130
17400131 <font class="comment">// Forward references</font>
17500132 <font class="comment">//class XMLPlatformUtils;</font>
176<a name="l00133"></a><a class="code" href="TransService_8hpp.html#a0">00133</a> <font class="keyword">class </font><a class="code" href="classXMLLCPTranscoder.html">XMLLCPTranscoder</a>;
17700134 <font class="keyword">class </font><a class="code" href="classXMLTranscoder.html">XMLTranscoder</a>;
17800135 <font class="keyword">class </font>ENameMap;
17900136
18000137
18100138 <font class="comment">//</font>
18200139 <font class="comment">//  This class is an abstract base class which are used to abstract the</font>
18300140 <font class="comment">//  transcoding services that Xerces uses. The parser's actual transcoding</font>
18400141 <font class="comment">//  needs are small so it is desirable to allow different implementations</font>
18500142 <font class="comment">//  to be provided.</font>
18600143 <font class="comment">//</font>
18700144 <font class="comment">//  The transcoding service has to provide a couple of required string</font>
18800145 <font class="comment">//  and character operations, but its most important service is the creation</font>
18900146 <font class="comment">//  of transcoder objects. There are two types of transcoders, which are</font>
19000147 <font class="comment">//  discussed below in the XMLTranscoder class' description.</font>
19100148 <font class="comment">//</font>
192<a name="l00149"></a><a class="code" href="classXMLTransService.html">00149</a> <font class="keyword">class </font><a class="code" href="XercesDefs_8hpp.html#a8"></a> <a class="code" href="classXMLTransService.html">XMLTransService</a> : <font class="keyword">public</font> <a class="code" href="classXMemory.html">XMemory</a>
19300150 {
19400151 <font class="keyword">public</font> :
19500152     <font class="comment">// -----------------------------------------------------------------------</font>
19600153     <font class="comment">//  Class specific types</font>
19700154     <font class="comment">// -----------------------------------------------------------------------</font>
198<a name="l00155"></a><a class="code" href="classXMLTransService.html#s4">00155</a>     <font class="keyword">enum</font> Codes
19900156     {
20000157         Ok
20100158         , UnsupportedEncoding
20200159         , InternalFailure
20300160         , SupportFilesNotFound
20400161     };
20500162
206<a name="l00163"></a><a class="code" href="structXMLTransService_1_1TransRec.html">00163</a>     <font class="keyword">struct </font>TransRec
20700164     {
208<a name="l00165"></a><a class="code" href="structXMLTransService_1_1TransRec.html#m0">00165</a>         XMLCh       intCh;
209<a name="l00166"></a><a class="code" href="structXMLTransService_1_1TransRec.html#m1">00166</a>         <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>     extCh;
21000167     };
21100168
21200169
21300170     <font class="comment">// -----------------------------------------------------------------------</font>
21400171     <font class="comment">//  Public constructors and destructor</font>
21500172     <font class="comment">// -----------------------------------------------------------------------</font>
21600173     <font class="keyword">virtual</font> ~<a class="code" href="classXMLTransService.html">XMLTransService</a>();
21700174
21800175
21900176     <font class="comment">// -----------------------------------------------------------------------</font>
22000177     <font class="comment">//  Non-virtual API</font>
22100178     <font class="comment">// -----------------------------------------------------------------------</font>
22200179     <a class="code" href="classXMLTranscoder.html">XMLTranscoder</a>* makeNewTranscoderFor
22300180     (
22400181         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>            encodingName
22500182         ,       <a class="code" href="classXMLTransService.html#s4">XMLTransService::Codes</a>&amp; resValue
22600183         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>            blockSize
22700184         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font>          manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>
22800185     );
22900186
23000187     <a class="code" href="classXMLTranscoder.html">XMLTranscoder</a>* makeNewTranscoderFor
23100188     (
23200189         <font class="keyword">const</font>   <font class="keywordtype">char</font>* <font class="keyword">const</font>             encodingName
23300190         ,       <a class="code" href="classXMLTransService.html#s4">XMLTransService::Codes</a>&amp; resValue
23400191         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>            blockSize
23500192         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font>          manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>
23600193     );
23700194
23800195     <a class="code" href="classXMLTranscoder.html">XMLTranscoder</a>* makeNewTranscoderFor
23900196     (
24000197         XMLRecognizer::Encodings        encodingEnum
24100198         ,       <a class="code" href="classXMLTransService.html#s4">XMLTransService::Codes</a>&amp; resValue
24200199         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>            blockSize
24300200         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font>          manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>
24400201     );
24500202
24600203
24700204     <font class="comment">// -----------------------------------------------------------------------</font>
24800205     <font class="comment">//  The virtual transcoding service API</font>
24900206     <font class="comment">// -----------------------------------------------------------------------</font>
25000207     <font class="keyword">virtual</font> <font class="keywordtype">int</font> compareIString
25100208     (
25200209         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    comp1
25300210         , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font>    comp2
25400211     ) = 0;
25500212
25600213     <font class="keyword">virtual</font> <font class="keywordtype">int</font> compareNIString
25700214     (
25800215         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    comp1
25900216         , <font class="keyword">const</font> XMLCh* <font class="keyword">const</font>    comp2
26000217         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    maxChars
26100218     ) = 0;
26200219
26300220     <font class="keyword">virtual</font> <font class="keyword">const</font> XMLCh* getId() <font class="keyword">const</font> = 0;
26400221
26500222     <font class="keyword">virtual</font> <font class="keywordtype">bool</font> isSpace(<font class="keyword">const</font> XMLCh toCheck) <font class="keyword">const</font> = 0;
26600223
26700224     <font class="keyword">virtual</font> <a class="code" href="classXMLLCPTranscoder.html">XMLLCPTranscoder</a>* makeNewLCPTranscoder() = 0;
26800225
26900226     <font class="keyword">virtual</font> <font class="keywordtype">bool</font> supportsSrcOfs() <font class="keyword">const</font> = 0;
27000227
27100228     <font class="keyword">virtual</font> <font class="keywordtype">void</font> upperCase(XMLCh* <font class="keyword">const</font> toUpperCase) <font class="keyword">const</font> = 0;
27200229     <font class="keyword">virtual</font> <font class="keywordtype">void</font> lowerCase(XMLCh* <font class="keyword">const</font> toLowerCase) <font class="keyword">const</font> = 0;
27300230
27400231     <font class="comment">// -----------------------------------------------------------------------</font>
27500232     <font class="comment">//  Allow users to add their own encodings to the intrinsinc mapping</font>
27600233     <font class="comment">//  table</font>
27700234     <font class="comment">//  Usage:</font>
27800235     <font class="comment">//      XMLTransService::addEncoding (</font>
27900236     <font class="comment">//          gMyEncodingNameString</font>
28000237     <font class="comment">//          , new ENameMapFor&lt;MyTransClassType&gt;(gMyEncodingNameString)</font>
28100238     <font class="comment">//      );</font>
28200239     <font class="comment">// -----------------------------------------------------------------------</font>
28300240     <font class="keyword">static</font> <font class="keywordtype">void</font> addEncoding(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> encoding, ENameMap* <font class="keyword">const</font> ownMapping);
28400241
28500242
28600243 <font class="keyword">protected</font> :
28700244     <font class="comment">// -----------------------------------------------------------------------</font>
28800245     <font class="comment">//  Hidden constructors</font>
28900246     <font class="comment">// -----------------------------------------------------------------------</font>
29000247     <a class="code" href="classXMLTransService.html">XMLTransService</a>();
29100248
29200249
29300250     <font class="comment">// -----------------------------------------------------------------------</font>
29400251     <font class="comment">//  Protected virtual methods.</font>
29500252     <font class="comment">// -----------------------------------------------------------------------</font>
29600253     <font class="keyword">virtual</font> <a class="code" href="classXMLTranscoder.html">XMLTranscoder</a>* makeNewXMLTranscoder
29700254     (
29800255         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>            encodingName
29900256         ,       <a class="code" href="classXMLTransService.html#s4">XMLTransService::Codes</a>&amp; resValue
30000257         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>            blockSize
30100258         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font>          manager
30200259     ) = 0;
30300260
30400261     <font class="comment">// -----------------------------------------------------------------------</font>
30500262     <font class="comment">//  Protected init method for platform utils to call</font>
30600263     <font class="comment">// -----------------------------------------------------------------------</font>
307<a name="l00264"></a><a class="code" href="classXMLTransService.html#l0">00264</a>     <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classXMLPlatformUtils.html">XMLPlatformUtils</a>;
30800265     <font class="keyword">virtual</font> <font class="keywordtype">void</font> initTransService();
30900266
31000267     <font class="comment">// -----------------------------------------------------------------------</font>
31100268     <font class="comment">// protected static members</font>
31200269     <font class="comment">//  gMappings</font>
31300270     <font class="comment">//      This is a hash table of ENameMap objects. It is created and filled</font>
31400271     <font class="comment">//      in when the platform init calls our initTransService() method.</font>
31500272     <font class="comment">//</font>
31600273     <font class="comment">//  gMappingsRecognizer</font>
31700274     <font class="comment">//      This is an array of ENameMap objects, predefined for those</font>
31800275     <font class="comment">//      already recognized by XMLRecognizer::Encodings.</font>
31900276     <font class="comment">//</font>
32000277
321<a name="l00278"></a><a class="code" href="classXMLTransService.html#q0">00278</a>     <font class="keyword">static</font> RefHashTableOf&lt;ENameMap&gt;*    gMappings;
322<a name="l00279"></a><a class="code" href="classXMLTransService.html#q1">00279</a>     <font class="keyword">static</font> RefVectorOf&lt;ENameMap&gt;*       gMappingsRecognizer;
32300280
32400281 <font class="keyword">private</font> :
32500282     <font class="comment">// -----------------------------------------------------------------------</font>
32600283     <font class="comment">//  Unimplemented constructors and operators</font>
32700284     <font class="comment">// -----------------------------------------------------------------------</font>
32800285     <a class="code" href="classXMLTransService.html">XMLTransService</a>(<font class="keyword">const</font> <a class="code" href="classXMLTransService.html">XMLTransService</a>&amp;);
32900286     <a class="code" href="classXMLTransService.html">XMLTransService</a>&amp; operator=(<font class="keyword">const</font> <a class="code" href="classXMLTransService.html">XMLTransService</a>&amp;);
33000287
33100288     <font class="comment">// -----------------------------------------------------------------------</font>
33200289     <font class="comment">//  Hidden method to enable/disable strict IANA encoding check</font>
33300290     <font class="comment">//  Caller: XMLPlatformUtils</font>
33400291     <font class="comment">// -----------------------------------------------------------------------</font>
33500292     <font class="keywordtype">void</font> strictIANAEncoding(<font class="keyword">const</font> <font class="keywordtype">bool</font> newState);
33600293     <font class="keywordtype">bool</font> isStrictIANAEncoding();
33700294     <font class="keyword">static</font> <font class="keywordtype">void</font> reinitMappings();
33800295     <font class="keyword">static</font> <font class="keywordtype">void</font> reinitMappingsRecognizer();
33900296
34000297 };
34100298
34200299
34300300
344<a name="l00317"></a><a class="code" href="classXMLTranscoder.html">00317</a> <font class="keyword">class </font><a class="code" href="XercesDefs_8hpp.html#a8"></a> XMLTranscoder : <font class="keyword">public</font> <a class="code" href="classXMemory.html">XMemory</a>
34500318 {
34600319 <font class="keyword">public</font> :
34700320
348<a name="l00328"></a><a class="code" href="classXMLTranscoder.html#s2">00328</a>     <font class="keyword">enum</font> UnRepOpts
34900329     {
35000330         UnRep_Throw     
35100331         , UnRep_RepChar     
35200332     };
35300333
35400334
35500337
35600342     <font class="keyword">virtual</font> ~XMLTranscoder();
35700344
35800345
35900346
36000349
36100369     <font class="keyword">virtual</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> transcodeFrom
36200370     (
36300371         <font class="keyword">const</font>   <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>* <font class="keyword">const</font>          srcData
36400372         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>            srcCount
36500373         ,       XMLCh* <font class="keyword">const</font>            toFill
36600374         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>            maxChars
36700375         ,       <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>&amp;           bytesEaten
36800376         ,       <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font>* <font class="keyword">const</font>    charSizes
36900377     ) = 0;
37000378
37100392     <font class="keyword">virtual</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> transcodeTo
37200393     (
37300394         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    srcData
37400395         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    srcCount
37500396         ,       <a class="code" href="XercesDefs_8hpp.html#a16">XMLByte</a>* <font class="keyword">const</font>  toFill
37600397         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    maxBytes
37700398         ,       <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>&amp;   charsEaten
37800399         , <font class="keyword">const</font> UnRepOpts       options
37900400     ) = 0;
38000401
38100407     <font class="keyword">virtual</font> <font class="keywordtype">bool</font> canTranscodeTo
38200408     (
38300409         <font class="keyword">const</font>   <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    toCheck
38400410     )   <font class="keyword">const</font> = 0;
38500411
38600413
38700416
38800421     <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> getBlockSize() <font class="keyword">const</font>;
38900422
39000428     <font class="keyword">const</font> XMLCh* getEncodingName() <font class="keyword">const</font>;
39100430
39200433
39300441     <a class="code" href="classMemoryManager.html">MemoryManager</a>* getMemoryManager() <font class="keyword">const</font>;
39400442
39500444
39600445 <font class="keyword">protected</font> :
39700446     <font class="comment">// -----------------------------------------------------------------------</font>
39800447     <font class="comment">//  Hidden constructors</font>
39900448     <font class="comment">// -----------------------------------------------------------------------</font>
40000449     XMLTranscoder
40100450     (
40200451         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    encodingName
40300452         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    blockSize
40400453         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font>  manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>
40500454     );
40600455
40700456
40800457     <font class="comment">// -----------------------------------------------------------------------</font>
40900458     <font class="comment">//  Protected helper methods</font>
41000459     <font class="comment">// -----------------------------------------------------------------------</font>
41100460     <font class="comment">// As the body of this function is commented out it could be removed.</font>
41200461     <font class="comment">// However, currently all calls to it are guarded by #if defined(XERCES_DEBUG)</font>
41300462     <font class="comment">// so will leave it for now.</font>
41400463     <font class="keywordtype">void</font> checkBlockSize(<font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> toCheck);
41500464
41600465
41700466 <font class="keyword">private</font> :
41800467     <font class="comment">// -----------------------------------------------------------------------</font>
41900468     <font class="comment">//  Unimplemented constructors and operators</font>
42000469     <font class="comment">// -----------------------------------------------------------------------</font>
42100470     XMLTranscoder(<font class="keyword">const</font> XMLTranscoder&amp;);
42200471     XMLTranscoder&amp; operator=(<font class="keyword">const</font> XMLTranscoder&amp;);
42300472
42400473     <font class="comment">// -----------------------------------------------------------------------</font>
42500474     <font class="comment">//  Private data members</font>
42600475     <font class="comment">//</font>
42700476     <font class="comment">//  fBlockSize</font>
42800477     <font class="comment">//      This is the block size indicated in the constructor.</font>
42900478     <font class="comment">//</font>
43000479     <font class="comment">//  fEncodingName</font>
43100480     <font class="comment">//      This is the name of the encoding this encoder is for. All basic</font>
43200481     <font class="comment">//      XML transcoder's are for named encodings.</font>
43300482     <font class="comment">// -----------------------------------------------------------------------</font>
43400483     <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    fBlockSize;
43500484     XMLCh*          fEncodingName;
43600485     <a class="code" href="classMemoryManager.html">MemoryManager</a>*  fMemoryManager;
43700486 };
43800487
43900488
44000489 <font class="comment">//</font>
44100490 <font class="comment">//  This class is a specialized transcoder that only transcodes between</font>
44200491 <font class="comment">//  the internal XMLCh format and the local code page. It is specialized</font>
44300492 <font class="comment">//  for the very common job of translating data from the client app's</font>
44400493 <font class="comment">//  native code page to the internal format and vice versa.</font>
44500494 <font class="comment">//</font>
446<a name="l00495"></a><a class="code" href="classXMLLCPTranscoder.html">00495</a> <font class="keyword">class </font><a class="code" href="XercesDefs_8hpp.html#a8"></a> XMLLCPTranscoder : <font class="keyword">public</font> <a class="code" href="classXMemory.html">XMemory</a>
44700496 {
44800497 <font class="keyword">public</font> :
44900498     <font class="comment">// -----------------------------------------------------------------------</font>
45000499     <font class="comment">//  Public constructors and destructor</font>
45100500     <font class="comment">// -----------------------------------------------------------------------</font>
45200501     <font class="keyword">virtual</font> ~XMLLCPTranscoder();
45300502
45400503
45500504     <font class="comment">// -----------------------------------------------------------------------</font>
45600505     <font class="comment">//  The virtual transcoder API</font>
45700506     <font class="comment">//</font>
45800507     <font class="comment">//  NOTE:   All these APIs don't include null terminator characters in</font>
45900508     <font class="comment">//          their parameters. So calcRequiredSize() returns the number</font>
46000509     <font class="comment">//          of actual chars, not including the null. maxBytes and maxChars</font>
46100510     <font class="comment">//          parameters refer to actual chars, not including the null so</font>
46200511     <font class="comment">//          its assumed that the buffer is physically one char or byte</font>
46300512     <font class="comment">//          larger.</font>
46400513     <font class="comment">// -----------------------------------------------------------------------</font>
46500514     <font class="keyword">virtual</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> calcRequiredSize(<font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> srcText
46600515         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font> manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>) = 0;
46700516
46800517     <font class="keyword">virtual</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> calcRequiredSize(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> srcText
46900518         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font> manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>) = 0;
47000519
47100520     <font class="keyword">virtual</font> <font class="keywordtype">char</font>* transcode(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> toTranscode) = 0;
47200521     <font class="keyword">virtual</font> <font class="keywordtype">char</font>* transcode(<font class="keyword">const</font> XMLCh* <font class="keyword">const</font> toTranscode,
47300522                             <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font> manager) = 0;
47400523
47500524     <font class="keyword">virtual</font> XMLCh* transcode(<font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> toTranscode) = 0;
47600525     <font class="keyword">virtual</font> XMLCh* transcode(<font class="keyword">const</font> <font class="keywordtype">char</font>* <font class="keyword">const</font> toTranscode,
47700526                              <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font> manager) = 0;
47800527
47900528     <font class="keyword">virtual</font> <font class="keywordtype">bool</font> transcode
48000529     (
48100530         <font class="keyword">const</font>   <font class="keywordtype">char</font>* <font class="keyword">const</font>     toTranscode
48200531         ,       XMLCh* <font class="keyword">const</font>    toFill
48300532         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    maxChars
48400533         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font>  manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>
48500534     ) = 0;
48600535
48700536     <font class="keyword">virtual</font> <font class="keywordtype">bool</font> transcode
48800537     (
48900538         <font class="keyword">const</font>   XMLCh* <font class="keyword">const</font>    toTranscode
49000539         ,       <font class="keywordtype">char</font>* <font class="keyword">const</font>     toFill
49100540         , <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>    maxBytes
49200541         , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <font class="keyword">const</font>  manager = <a class="code" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>
49300542     ) = 0;
49400543
49500544
49600545 <font class="keyword">protected</font> :
49700546     <font class="comment">// -----------------------------------------------------------------------</font>
49800547     <font class="comment">//  Hidden constructors</font>
49900548     <font class="comment">// -----------------------------------------------------------------------</font>
50000549     <a class="code" href="XMLString_8hpp.html#a1">XMLLCPTranscoder</a>();
50100550
50200551
50300552 <font class="keyword">private</font> :
50400553     <font class="comment">// -----------------------------------------------------------------------</font>
50500554     <font class="comment">//  Unimplemented constructors and operators</font>
50600555     <font class="comment">// -----------------------------------------------------------------------</font>
50700556     <a class="code" href="XMLString_8hpp.html#a1">XMLLCPTranscoder</a>(<font class="keyword">const</font> XMLLCPTranscoder&amp;);
50800557     XMLLCPTranscoder&amp; operator=(<font class="keyword">const</font> XMLLCPTranscoder&amp;);
50900558 };
51000559
51100560
51200561 <font class="comment">// ---------------------------------------------------------------------------</font>
51300562 <font class="comment">//  XMLTranscoder: Getter methods</font>
51400563 <font class="comment">// ---------------------------------------------------------------------------</font>
515<a name="l00564"></a><a class="code" href="classXMLTranscoder.html#z506_0">00564</a> <font class="keyword">inline</font> <a class="code" href="classMemoryManager.html">MemoryManager</a>* <a class="code" href="classXMLTranscoder.html#z506_0">XMLTranscoder::getMemoryManager</a>()<font class="keyword"> const</font>
51600565 <font class="keyword"></font>{
51700566     <font class="keywordflow">return</font> fMemoryManager;
51800567 }
51900568
52000569 <font class="comment">// ---------------------------------------------------------------------------</font>
52100570 <font class="comment">//  XMLTranscoder: Protected helper methods</font>
52200571 <font class="comment">// ---------------------------------------------------------------------------</font>
523<a name="l00572"></a><a class="code" href="classXMLTranscoder.html#z505_0">00572</a> <font class="keyword">inline</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> <a class="code" href="classXMLTranscoder.html#z505_0">XMLTranscoder::getBlockSize</a>()<font class="keyword"> const</font>
52400573 <font class="keyword"></font>{
52500574     <font class="keywordflow">return</font> fBlockSize;
52600575 }
52700576
528<a name="l00577"></a><a class="code" href="classXMLTranscoder.html#z505_1">00577</a> <font class="keyword">inline</font> <font class="keyword">const</font> XMLCh* <a class="code" href="classXMLTranscoder.html#z505_1">XMLTranscoder::getEncodingName</a>()<font class="keyword"> const</font>
52900578 <font class="keyword"></font>{
53000579     <font class="keywordflow">return</font> fEncodingName;
53100580 }
53200581
53300582 <a class="code" href="XercesDefs_8hpp.html#a3">XERCES_CPP_NAMESPACE_END</a>
53400583
53500584 <font class="preprocessor">#endif</font>
536</pre></div>    </FONT></TD></TR></TABLE><BR>
537</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
538              Copyright &copy; 1994-2004 The Apache Software Foundation.
539              All Rights Reserved.
540            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.