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

Revision 358, 45.9 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>XMLFormatter class Reference</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>XMLFormatter  Class Reference</h1>This class provides the basic formatting capabilities that are required to turn the Unicode based XML data from the parsers into a form that can be used on non-Unicode based systems, that is, into local or generic text encodings.
45<a href="#_details">More...</a>
46<p>
47Inheritance diagram for XMLFormatter:<p><center><img src="classXMLFormatter__inherit__graph.gif" border="0" usemap="#XMLFormatter__inherit__map" alt="Inheritance graph"></center>
48<map name="XMLFormatter__inherit__map">
49<area href="classXMemory.html" shape="rect" coords="21,36,91,17" alt="">
50</map>
51<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XMLFormatter:<p><center><img src="classXMLFormatter__coll__graph.gif" border="0" usemap="#XMLFormatter__coll__map" alt="Collaboration graph"></center>
52<map name="XMLFormatter__coll__map">
53<area href="classXMemory.html" shape="rect" coords="83,36,152,17" alt="">
54<area href="classXMLFormatTarget.html" shape="rect" coords="57,127,177,108" alt="">
55<area href="classXMLTranscoder.html" shape="rect" coords="201,127,308,108" alt="">
56<area href="classMemoryManager.html" shape="rect" coords="188,36,297,17" alt="">
57</map>
58<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLFormatter-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
59<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
60<tr><td colspan="2"><div class="groupHeader">Public Contants</div></td></tr>
61<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a> { <br>
62&nbsp;&nbsp;<a class="el" href="classXMLFormatter.html#z279_0s0">NoEscapes</a>,
63<a class="el" href="classXMLFormatter.html#z279_0s1">StdEscapes</a>,
64<a class="el" href="classXMLFormatter.html#z279_0s2">AttrEscapes</a>,
65<a class="el" href="classXMLFormatter.html#z279_0s3">CharEscapes</a>,
66<br>
67&nbsp;&nbsp;<a class="el" href="classXMLFormatter.html#z279_0s4">EscapeFlags_Count</a>,
68<a class="el" href="classXMLFormatter.html#z279_0s5">DefaultEscape</a> =  999
69<br>
70 }</td></tr>
71<tr><td>&nbsp;</td><td><font size=-1><em>EscapeFlags - Different styles of escape flags to control various formatting.</em> <a href="#z279_0">More...</a><em></em></font><br><br></td></tr>
72<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a> { <a class="el" href="classXMLFormatter.html#z279_1s6">UnRep_Fail</a>,
73<a class="el" href="classXMLFormatter.html#z279_1s7">UnRep_CharRef</a>,
74<a class="el" href="classXMLFormatter.html#z279_1s8">UnRep_Replace</a>,
75<a class="el" href="classXMLFormatter.html#z279_1s9">DefaultUnRep</a> =  999
76 }</td></tr>
77<tr><td>&nbsp;</td><td><font size=-1><em>UnRepFlags.</em> <a href="#z279_1">More...</a><em></em></font><br><br></td></tr>
78<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
79<tr><td colspan="2"><div class="groupHeader">Constructor and Destructor</div></td></tr>
80<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z280_0">XMLFormatter</a> (const XMLCh *const outEncoding, const XMLCh *const docVersion, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a> escapeFlags=NoEscapes, const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a> unrepFlags=UnRep_Fail, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
81<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z280_1">XMLFormatter</a> (const char *const outEncoding, const char *const docVersion, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a> escapeFlags=NoEscapes, const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a> unrepFlags=UnRep_Fail, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
82<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z280_2">XMLFormatter</a> (const XMLCh *const outEncoding, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a> escapeFlags=NoEscapes, const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a> unrepFlags=UnRep_Fail, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
83<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z280_3">XMLFormatter</a> (const char *const outEncoding, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a> escapeFlags=NoEscapes, const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a> unrepFlags=UnRep_Fail, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
84<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z280_4">~XMLFormatter</a> ()</td></tr>
85<tr><td colspan="2"><div class="groupHeader">Formatting methods</div></td></tr>
86<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z281_0">formatBuf</a> (const XMLCh *const toFormat, const unsigned int count, const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a> escapeFlags=DefaultEscape, const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a> unrepFlags=DefaultUnRep)</td></tr>
87<tr><td nowrap align=right valign=top>XMLFormatter &amp;&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z281_1">operator&lt;&lt;</a> (const XMLCh *const toFormat)</td></tr>
88<tr><td nowrap align=right valign=top>XMLFormatter &amp;&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z281_2">operator&lt;&lt;</a> (const XMLCh toFormat)</td></tr>
89<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z281_3">writeBOM</a> (const <a class="el" href="XercesDefs_8hpp.html#a16">XMLByte</a> *const toFormat, const unsigned int count)</td></tr>
90<tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
91<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z282_0">getEncodingName</a> () const</td></tr>
92<tr><td nowrap align=right valign=top>const <a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z282_1">getTranscoder</a> () const</td></tr>
93<tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
94<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z283_0">setEscapeFlags</a> (const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a> newFlags)</td></tr>
95<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z283_1">setUnRepFlags</a> (const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a> newFlags)</td></tr>
96<tr><td nowrap align=right valign=top>XMLFormatter &amp;&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z283_2">operator&lt;&lt;</a> (const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a> newFlags)</td></tr>
97<tr><td nowrap align=right valign=top>XMLFormatter &amp;&nbsp;</td><td valign=bottom><a class="el" href="classXMLFormatter.html#z283_3">operator&lt;&lt;</a> (const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a> newFlags)</td></tr>
98</table>
99<hr><a name="_details"></a><h2>Detailed Description</h2>
100This class provides the basic formatting capabilities that are required to turn the Unicode based XML data from the parsers into a form that can be used on non-Unicode based systems, that is, into local or generic text encodings.
101<p>
102A number of flags are provided to control whether various optional formatting operations are performed.
103<p>
104<hr><h2>Member Enumeration Documentation</h2>
105<a name="z279_0" doxytag="XMLFormatter::EscapeFlags"></a><p>
106<table width="100%" cellpadding="2" cellspacing="0" border="0">
107  <tr>
108    <td class="md">
109      <table cellpadding="0" cellspacing="0" border="0">
110        <tr>
111          <td class="md" nowrap valign="top"> enum XMLFormatter::EscapeFlags
112      </table>
113    </td>
114  </tr>
115</table>
116<table cellspacing=5 cellpadding=0 border=0>
117  <tr>
118    <td>
119      &nbsp;
120    </td>
121    <td>
122
123<p>
124EscapeFlags - Different styles of escape flags to control various formatting.
125<p>
126
127<p>
128<code>NoEscapes:</code> No character needs to be escaped. Just write them out as is.
129<p>
130<code>StdEscapes:</code> The following characters need to be escaped:   <table border=1 cellspacing=3 cellpadding=3><tr><td>character </td><td>should be escaped and written as   </td></tr>
131<tr><td>&amp; </td><td>&amp;amp;   </td></tr>
132<tr><td>&gt; </td><td>&amp;gt;   </td></tr>
133<tr><td>" </td><td>&amp;quot;   </td></tr>
134<tr><td>&lt; </td><td>&amp;lt;   </td></tr>
135<tr><td>' </td><td>&amp;apos;  </td></tr></table>
136 
137<p>
138<code>AttrEscapes:</code> The following characters need to be escaped:   <table border=1 cellspacing=3 cellpadding=3><tr><td>character </td><td>should be escaped and written as   </td></tr>
139<tr><td>&amp; </td><td>&amp;amp;   </td></tr>
140<tr><td>&gt; </td><td>&amp;gt;   </td></tr>
141<tr><td>" </td><td>&amp;quot;  </td></tr></table>
142 
143<p>
144<code>CharEscapes:</code> The following characters need to be escaped:   <table border=1 cellspacing=3 cellpadding=3><tr><td>character </td><td>should be escaped and written as   </td></tr>
145<tr><td>&amp; </td><td>&amp;amp;   </td></tr>
146<tr><td>&gt; </td><td>&amp;gt;  </td></tr></table>
147 
148<p>
149<code>EscapeFlags_Count:</code> Special value, do not use directly.
150<p>
151<code>DefaultEscape:</code> Special value, do not use directly. <dl compact><dt><b>
152Enumeration values:</b><dd>
153<table border=0 cellspacing=2 cellpadding=0>
154<tr><td valign=top><em><a name="z279_0s0" doxytag="NoEscapes"></a><em>NoEscapes</em></em>&nbsp;</td><td>
155</td></tr>
156<tr><td valign=top><em><a name="z279_0s1" doxytag="StdEscapes"></a><em>StdEscapes</em></em>&nbsp;</td><td>
157</td></tr>
158<tr><td valign=top><em><a name="z279_0s2" doxytag="AttrEscapes"></a><em>AttrEscapes</em></em>&nbsp;</td><td>
159</td></tr>
160<tr><td valign=top><em><a name="z279_0s3" doxytag="CharEscapes"></a><em>CharEscapes</em></em>&nbsp;</td><td>
161</td></tr>
162<tr><td valign=top><em><a name="z279_0s4" doxytag="EscapeFlags_Count"></a><em>EscapeFlags_Count</em></em>&nbsp;</td><td>
163</td></tr>
164<tr><td valign=top><em><a name="z279_0s5" doxytag="DefaultEscape"></a><em>DefaultEscape</em></em>&nbsp;</td><td>
165</td></tr>
166</table>
167</dl>
168    </td>
169  </tr>
170</table>
171<a name="z279_1" doxytag="XMLFormatter::UnRepFlags"></a><p>
172<table width="100%" cellpadding="2" cellspacing="0" border="0">
173  <tr>
174    <td class="md">
175      <table cellpadding="0" cellspacing="0" border="0">
176        <tr>
177          <td class="md" nowrap valign="top"> enum XMLFormatter::UnRepFlags
178      </table>
179    </td>
180  </tr>
181</table>
182<table cellspacing=5 cellpadding=0 border=0>
183  <tr>
184    <td>
185      &nbsp;
186    </td>
187    <td>
188
189<p>
190UnRepFlags.
191<p>
192The unrepresentable flags that indicate how to react when a character cannot be represented in the target encoding.
193<p>
194
195<p>
196<code>UnRep_Fail:</code> Fail the operation.
197<p>
198<code>UnRep_CharRef:</code> Display the unrepresented character as reference.
199<p>
200<code>UnRep_Replace:</code> Replace the unrepresented character with the replacement character.
201<p>
202<code>DefaultUnRep:</code> Special value, do not use directly. <dl compact><dt><b>
203Enumeration values:</b><dd>
204<table border=0 cellspacing=2 cellpadding=0>
205<tr><td valign=top><em><a name="z279_1s6" doxytag="UnRep_Fail"></a><em>UnRep_Fail</em></em>&nbsp;</td><td>
206</td></tr>
207<tr><td valign=top><em><a name="z279_1s7" doxytag="UnRep_CharRef"></a><em>UnRep_CharRef</em></em>&nbsp;</td><td>
208</td></tr>
209<tr><td valign=top><em><a name="z279_1s8" doxytag="UnRep_Replace"></a><em>UnRep_Replace</em></em>&nbsp;</td><td>
210</td></tr>
211<tr><td valign=top><em><a name="z279_1s9" doxytag="DefaultUnRep"></a><em>DefaultUnRep</em></em>&nbsp;</td><td>
212</td></tr>
213</table>
214</dl>
215    </td>
216  </tr>
217</table>
218<hr><h2>Constructor &amp; Destructor Documentation</h2>
219<a name="z280_0" doxytag="XMLFormatter::XMLFormatter"></a><p>
220<table width="100%" cellpadding="2" cellspacing="0" border="0">
221  <tr>
222    <td class="md">
223      <table cellpadding="0" cellspacing="0" border="0">
224        <tr>
225          <td class="md" nowrap valign="top"> XMLFormatter::XMLFormatter </td>
226          <td class="md" valign="top">(&nbsp;</td>
227          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
228          <td class="mdname" nowrap>&nbsp; <em>outEncoding</em>, </td>
229        </tr>
230        <tr>
231          <td></td>
232          <td></td>
233          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
234          <td class="mdname" nowrap>&nbsp; <em>docVersion</em>, </td>
235        </tr>
236        <tr>
237          <td></td>
238          <td></td>
239          <td class="md" nowrap><a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const&nbsp;</td>
240          <td class="mdname" nowrap>&nbsp; <em>target</em>, </td>
241        </tr>
242        <tr>
243          <td></td>
244          <td></td>
245          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a>&nbsp;</td>
246          <td class="mdname" nowrap>&nbsp; <em>escapeFlags</em> = NoEscapes, </td>
247        </tr>
248        <tr>
249          <td></td>
250          <td></td>
251          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a>&nbsp;</td>
252          <td class="mdname" nowrap>&nbsp; <em>unrepFlags</em> = UnRep_Fail, </td>
253        </tr>
254        <tr>
255          <td></td>
256          <td></td>
257          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
258          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
259        </tr>
260        <tr>
261          <td></td>
262          <td class="md">)&nbsp;</td>
263          <td class="md" colspan="2"></td>
264        </tr>
265
266      </table>
267    </td>
268  </tr>
269</table>
270<table cellspacing=5 cellpadding=0 border=0>
271  <tr>
272    <td>
273      &nbsp;
274    </td>
275    <td>
276
277<p>
278<dl compact><dt><b>
279Parameters: </b><dd>
280<table border=0 cellspacing=2 cellpadding=0>
281<tr><td valign=top><em>outEncoding</em>&nbsp;</td><td>
282the encoding for the formatted content </td></tr>
283<tr><td valign=top><em>docVersion</em>&nbsp;</td><td>
284</td></tr>
285<tr><td valign=top><em>target</em>&nbsp;</td><td>
286the formatTarget where the formatted content is written to </td></tr>
287<tr><td valign=top><em>escapeFlags</em>&nbsp;</td><td>
288the escape style for certain character </td></tr>
289<tr><td valign=top><em>unrepFlags</em>&nbsp;</td><td>
290the reaction to unrepresentable character </td></tr>
291<tr><td valign=top><em>manager</em>&nbsp;</td><td>
292Pointer to the memory manager to be used to allocate objects. </td></tr>
293</table>
294</dl>    </td>
295  </tr>
296</table>
297<a name="z280_1" doxytag="XMLFormatter::XMLFormatter"></a><p>
298<table width="100%" cellpadding="2" cellspacing="0" border="0">
299  <tr>
300    <td class="md">
301      <table cellpadding="0" cellspacing="0" border="0">
302        <tr>
303          <td class="md" nowrap valign="top"> XMLFormatter::XMLFormatter </td>
304          <td class="md" valign="top">(&nbsp;</td>
305          <td class="md" nowrap valign="top">const char *const&nbsp;</td>
306          <td class="mdname" nowrap>&nbsp; <em>outEncoding</em>, </td>
307        </tr>
308        <tr>
309          <td></td>
310          <td></td>
311          <td class="md" nowrap>const char *const&nbsp;</td>
312          <td class="mdname" nowrap>&nbsp; <em>docVersion</em>, </td>
313        </tr>
314        <tr>
315          <td></td>
316          <td></td>
317          <td class="md" nowrap><a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const&nbsp;</td>
318          <td class="mdname" nowrap>&nbsp; <em>target</em>, </td>
319        </tr>
320        <tr>
321          <td></td>
322          <td></td>
323          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a>&nbsp;</td>
324          <td class="mdname" nowrap>&nbsp; <em>escapeFlags</em> = NoEscapes, </td>
325        </tr>
326        <tr>
327          <td></td>
328          <td></td>
329          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a>&nbsp;</td>
330          <td class="mdname" nowrap>&nbsp; <em>unrepFlags</em> = UnRep_Fail, </td>
331        </tr>
332        <tr>
333          <td></td>
334          <td></td>
335          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
336          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
337        </tr>
338        <tr>
339          <td></td>
340          <td class="md">)&nbsp;</td>
341          <td class="md" colspan="2"></td>
342        </tr>
343
344      </table>
345    </td>
346  </tr>
347</table>
348<table cellspacing=5 cellpadding=0 border=0>
349  <tr>
350    <td>
351      &nbsp;
352    </td>
353    <td>
354
355<p>
356    </td>
357  </tr>
358</table>
359<a name="z280_2" doxytag="XMLFormatter::XMLFormatter"></a><p>
360<table width="100%" cellpadding="2" cellspacing="0" border="0">
361  <tr>
362    <td class="md">
363      <table cellpadding="0" cellspacing="0" border="0">
364        <tr>
365          <td class="md" nowrap valign="top"> XMLFormatter::XMLFormatter </td>
366          <td class="md" valign="top">(&nbsp;</td>
367          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
368          <td class="mdname" nowrap>&nbsp; <em>outEncoding</em>, </td>
369        </tr>
370        <tr>
371          <td></td>
372          <td></td>
373          <td class="md" nowrap><a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const&nbsp;</td>
374          <td class="mdname" nowrap>&nbsp; <em>target</em>, </td>
375        </tr>
376        <tr>
377          <td></td>
378          <td></td>
379          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a>&nbsp;</td>
380          <td class="mdname" nowrap>&nbsp; <em>escapeFlags</em> = NoEscapes, </td>
381        </tr>
382        <tr>
383          <td></td>
384          <td></td>
385          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a>&nbsp;</td>
386          <td class="mdname" nowrap>&nbsp; <em>unrepFlags</em> = UnRep_Fail, </td>
387        </tr>
388        <tr>
389          <td></td>
390          <td></td>
391          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
392          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
393        </tr>
394        <tr>
395          <td></td>
396          <td class="md">)&nbsp;</td>
397          <td class="md" colspan="2"></td>
398        </tr>
399
400      </table>
401    </td>
402  </tr>
403</table>
404<table cellspacing=5 cellpadding=0 border=0>
405  <tr>
406    <td>
407      &nbsp;
408    </td>
409    <td>
410
411<p>
412    </td>
413  </tr>
414</table>
415<a name="z280_3" doxytag="XMLFormatter::XMLFormatter"></a><p>
416<table width="100%" cellpadding="2" cellspacing="0" border="0">
417  <tr>
418    <td class="md">
419      <table cellpadding="0" cellspacing="0" border="0">
420        <tr>
421          <td class="md" nowrap valign="top"> XMLFormatter::XMLFormatter </td>
422          <td class="md" valign="top">(&nbsp;</td>
423          <td class="md" nowrap valign="top">const char *const&nbsp;</td>
424          <td class="mdname" nowrap>&nbsp; <em>outEncoding</em>, </td>
425        </tr>
426        <tr>
427          <td></td>
428          <td></td>
429          <td class="md" nowrap><a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const&nbsp;</td>
430          <td class="mdname" nowrap>&nbsp; <em>target</em>, </td>
431        </tr>
432        <tr>
433          <td></td>
434          <td></td>
435          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a>&nbsp;</td>
436          <td class="mdname" nowrap>&nbsp; <em>escapeFlags</em> = NoEscapes, </td>
437        </tr>
438        <tr>
439          <td></td>
440          <td></td>
441          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a>&nbsp;</td>
442          <td class="mdname" nowrap>&nbsp; <em>unrepFlags</em> = UnRep_Fail, </td>
443        </tr>
444        <tr>
445          <td></td>
446          <td></td>
447          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
448          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
449        </tr>
450        <tr>
451          <td></td>
452          <td class="md">)&nbsp;</td>
453          <td class="md" colspan="2"></td>
454        </tr>
455
456      </table>
457    </td>
458  </tr>
459</table>
460<table cellspacing=5 cellpadding=0 border=0>
461  <tr>
462    <td>
463      &nbsp;
464    </td>
465    <td>
466
467<p>
468    </td>
469  </tr>
470</table>
471<a name="z280_4" doxytag="XMLFormatter::~XMLFormatter"></a><p>
472<table width="100%" cellpadding="2" cellspacing="0" border="0">
473  <tr>
474    <td class="md">
475      <table cellpadding="0" cellspacing="0" border="0">
476        <tr>
477          <td class="md" nowrap valign="top"> XMLFormatter::~XMLFormatter </td>
478          <td class="md" valign="top">(&nbsp;</td>
479          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
480          <td class="md" valign="top">)&nbsp;</td>
481          <td class="md" nowrap></td>
482        </tr>
483
484      </table>
485    </td>
486  </tr>
487</table>
488<table cellspacing=5 cellpadding=0 border=0>
489  <tr>
490    <td>
491      &nbsp;
492    </td>
493    <td>
494
495<p>
496    </td>
497  </tr>
498</table>
499<hr><h2>Member Function Documentation</h2>
500<a name="z281_0" doxytag="XMLFormatter::formatBuf"></a><p>
501<table width="100%" cellpadding="2" cellspacing="0" border="0">
502  <tr>
503    <td class="md">
504      <table cellpadding="0" cellspacing="0" border="0">
505        <tr>
506          <td class="md" nowrap valign="top"> void XMLFormatter::formatBuf </td>
507          <td class="md" valign="top">(&nbsp;</td>
508          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
509          <td class="mdname" nowrap>&nbsp; <em>toFormat</em>, </td>
510        </tr>
511        <tr>
512          <td></td>
513          <td></td>
514          <td class="md" nowrap>const unsigned int&nbsp;</td>
515          <td class="mdname" nowrap>&nbsp; <em>count</em>, </td>
516        </tr>
517        <tr>
518          <td></td>
519          <td></td>
520          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a>&nbsp;</td>
521          <td class="mdname" nowrap>&nbsp; <em>escapeFlags</em> = DefaultEscape, </td>
522        </tr>
523        <tr>
524          <td></td>
525          <td></td>
526          <td class="md" nowrap>const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a>&nbsp;</td>
527          <td class="mdname" nowrap>&nbsp; <em>unrepFlags</em> = DefaultUnRep</td>
528        </tr>
529        <tr>
530          <td></td>
531          <td class="md">)&nbsp;</td>
532          <td class="md" colspan="2"></td>
533        </tr>
534
535      </table>
536    </td>
537  </tr>
538</table>
539<table cellspacing=5 cellpadding=0 border=0>
540  <tr>
541    <td>
542      &nbsp;
543    </td>
544    <td>
545
546<p>
547<dl compact><dt><b>
548Parameters: </b><dd>
549<table border=0 cellspacing=2 cellpadding=0>
550<tr><td valign=top><em>toFormat</em>&nbsp;</td><td>
551the string to be formatted </td></tr>
552<tr><td valign=top><em>count</em>&nbsp;</td><td>
553length of the string </td></tr>
554<tr><td valign=top><em>escapeFlags</em>&nbsp;</td><td>
555the escape style for formatting toFormat </td></tr>
556<tr><td valign=top><em>unrepFlags</em>&nbsp;</td><td>
557the reaction for any unrepresentable character in toFormat </td></tr>
558</table>
559</dl>    </td>
560  </tr>
561</table>
562<a name="z282_0" doxytag="XMLFormatter::getEncodingName"></a><p>
563<table width="100%" cellpadding="2" cellspacing="0" border="0">
564  <tr>
565    <td class="md">
566      <table cellpadding="0" cellspacing="0" border="0">
567        <tr>
568          <td class="md" nowrap valign="top"> const XMLCh * XMLFormatter::getEncodingName </td>
569          <td class="md" valign="top">(&nbsp;</td>
570          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
571          <td class="md" valign="top">)&nbsp;</td>
572          <td class="md" nowrap> const</td>
573        </tr>
574
575      </table>
576    </td>
577  </tr>
578</table>
579<table cellspacing=5 cellpadding=0 border=0>
580  <tr>
581    <td>
582      &nbsp;
583    </td>
584    <td>
585
586<p>
587<dl compact><dt><b>
588Returns: </b><dd>
589return the encoding set for the formatted content </dl>    </td>
590  </tr>
591</table>
592<a name="z282_1" doxytag="XMLFormatter::getTranscoder"></a><p>
593<table width="100%" cellpadding="2" cellspacing="0" border="0">
594  <tr>
595    <td class="md">
596      <table cellpadding="0" cellspacing="0" border="0">
597        <tr>
598          <td class="md" nowrap valign="top"> const <a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> * XMLFormatter::getTranscoder </td>
599          <td class="md" valign="top">(&nbsp;</td>
600          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
601          <td class="md" valign="top">)&nbsp;</td>
602          <td class="md" nowrap> const</td>
603        </tr>
604
605      </table>
606    </td>
607  </tr>
608</table>
609<table cellspacing=5 cellpadding=0 border=0>
610  <tr>
611    <td>
612      &nbsp;
613    </td>
614    <td>
615
616<p>
617<dl compact><dt><b>
618Returns: </b><dd>
619return the transcoder used internally for transcoding the formatter conent </dl>    </td>
620  </tr>
621</table>
622<a name="z283_3" doxytag="XMLFormatter::operator<<"></a><p>
623<table width="100%" cellpadding="2" cellspacing="0" border="0">
624  <tr>
625    <td class="md">
626      <table cellpadding="0" cellspacing="0" border="0">
627        <tr>
628          <td class="md" nowrap valign="top"> XMLFormatter &amp; XMLFormatter::operator&lt;&lt; </td>
629          <td class="md" valign="top">(&nbsp;</td>
630          <td class="md" nowrap valign="top">const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a>&nbsp;</td>
631          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newFlags</em>          </td>
632          <td class="md" valign="top">)&nbsp;</td>
633          <td class="md" nowrap></td>
634        </tr>
635
636      </table>
637    </td>
638  </tr>
639</table>
640<table cellspacing=5 cellpadding=0 border=0>
641  <tr>
642    <td>
643      &nbsp;
644    </td>
645    <td>
646
647<p>
648<dl compact><dt><b>
649Parameters: </b><dd>
650<table border=0 cellspacing=2 cellpadding=0>
651<tr><td valign=top><em>newFlags</em>&nbsp;</td><td>
652set the reaction for unrepresentable character </td></tr>
653</table>
654</dl><dl compact><dt><b>
655See also: </b><dd>
656<a class="el" href="classXMLFormatter.html#z283_1">setUnRepFlags</a> </dl>    </td>
657  </tr>
658</table>
659<a name="z283_2" doxytag="XMLFormatter::operator<<"></a><p>
660<table width="100%" cellpadding="2" cellspacing="0" border="0">
661  <tr>
662    <td class="md">
663      <table cellpadding="0" cellspacing="0" border="0">
664        <tr>
665          <td class="md" nowrap valign="top"> XMLFormatter &amp; XMLFormatter::operator&lt;&lt; </td>
666          <td class="md" valign="top">(&nbsp;</td>
667          <td class="md" nowrap valign="top">const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a>&nbsp;</td>
668          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newFlags</em>          </td>
669          <td class="md" valign="top">)&nbsp;</td>
670          <td class="md" nowrap></td>
671        </tr>
672
673      </table>
674    </td>
675  </tr>
676</table>
677<table cellspacing=5 cellpadding=0 border=0>
678  <tr>
679    <td>
680      &nbsp;
681    </td>
682    <td>
683
684<p>
685<dl compact><dt><b>
686Parameters: </b><dd>
687<table border=0 cellspacing=2 cellpadding=0>
688<tr><td valign=top><em>newFlags</em>&nbsp;</td><td>
689set the escape style for the follow-on formatted content </td></tr>
690</table>
691</dl><dl compact><dt><b>
692See also: </b><dd>
693<a class="el" href="classXMLFormatter.html#z283_0">setEscapeFlags</a> </dl>    </td>
694  </tr>
695</table>
696<a name="z281_2" doxytag="XMLFormatter::operator<<"></a><p>
697<table width="100%" cellpadding="2" cellspacing="0" border="0">
698  <tr>
699    <td class="md">
700      <table cellpadding="0" cellspacing="0" border="0">
701        <tr>
702          <td class="md" nowrap valign="top"> XMLFormatter&amp; XMLFormatter::operator&lt;&lt; </td>
703          <td class="md" valign="top">(&nbsp;</td>
704          <td class="md" nowrap valign="top">const XMLCh&nbsp;</td>
705          <td class="mdname1" valign="top" nowrap>&nbsp; <em>toFormat</em>          </td>
706          <td class="md" valign="top">)&nbsp;</td>
707          <td class="md" nowrap></td>
708        </tr>
709
710      </table>
711    </td>
712  </tr>
713</table>
714<table cellspacing=5 cellpadding=0 border=0>
715  <tr>
716    <td>
717      &nbsp;
718    </td>
719    <td>
720
721<p>
722    </td>
723  </tr>
724</table>
725<a name="z281_1" doxytag="XMLFormatter::operator<<"></a><p>
726<table width="100%" cellpadding="2" cellspacing="0" border="0">
727  <tr>
728    <td class="md">
729      <table cellpadding="0" cellspacing="0" border="0">
730        <tr>
731          <td class="md" nowrap valign="top"> XMLFormatter&amp; XMLFormatter::operator&lt;&lt; </td>
732          <td class="md" valign="top">(&nbsp;</td>
733          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
734          <td class="mdname1" valign="top" nowrap>&nbsp; <em>toFormat</em>          </td>
735          <td class="md" valign="top">)&nbsp;</td>
736          <td class="md" nowrap></td>
737        </tr>
738
739      </table>
740    </td>
741  </tr>
742</table>
743<table cellspacing=5 cellpadding=0 border=0>
744  <tr>
745    <td>
746      &nbsp;
747    </td>
748    <td>
749
750<p>
751<dl compact><dt><b>
752See also: </b><dd>
753<a class="el" href="classXMLFormatter.html#z281_0">formatBuf</a> </dl>    </td>
754  </tr>
755</table>
756<a name="z283_0" doxytag="XMLFormatter::setEscapeFlags"></a><p>
757<table width="100%" cellpadding="2" cellspacing="0" border="0">
758  <tr>
759    <td class="md">
760      <table cellpadding="0" cellspacing="0" border="0">
761        <tr>
762          <td class="md" nowrap valign="top"> void XMLFormatter::setEscapeFlags </td>
763          <td class="md" valign="top">(&nbsp;</td>
764          <td class="md" nowrap valign="top">const <a class="el" href="classXMLFormatter.html#z279_0">EscapeFlags</a>&nbsp;</td>
765          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newFlags</em>          </td>
766          <td class="md" valign="top">)&nbsp;</td>
767          <td class="md" nowrap></td>
768        </tr>
769
770      </table>
771    </td>
772  </tr>
773</table>
774<table cellspacing=5 cellpadding=0 border=0>
775  <tr>
776    <td>
777      &nbsp;
778    </td>
779    <td>
780
781<p>
782<dl compact><dt><b>
783Parameters: </b><dd>
784<table border=0 cellspacing=2 cellpadding=0>
785<tr><td valign=top><em>newFlags</em>&nbsp;</td><td>
786set the escape style for the follow-on formatted content </td></tr>
787</table>
788</dl>    </td>
789  </tr>
790</table>
791<a name="z283_1" doxytag="XMLFormatter::setUnRepFlags"></a><p>
792<table width="100%" cellpadding="2" cellspacing="0" border="0">
793  <tr>
794    <td class="md">
795      <table cellpadding="0" cellspacing="0" border="0">
796        <tr>
797          <td class="md" nowrap valign="top"> void XMLFormatter::setUnRepFlags </td>
798          <td class="md" valign="top">(&nbsp;</td>
799          <td class="md" nowrap valign="top">const <a class="el" href="classXMLFormatter.html#z279_1">UnRepFlags</a>&nbsp;</td>
800          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newFlags</em>          </td>
801          <td class="md" valign="top">)&nbsp;</td>
802          <td class="md" nowrap></td>
803        </tr>
804
805      </table>
806    </td>
807  </tr>
808</table>
809<table cellspacing=5 cellpadding=0 border=0>
810  <tr>
811    <td>
812      &nbsp;
813    </td>
814    <td>
815
816<p>
817<dl compact><dt><b>
818Parameters: </b><dd>
819<table border=0 cellspacing=2 cellpadding=0>
820<tr><td valign=top><em>newFlags</em>&nbsp;</td><td>
821set the reaction for unrepresentable character </td></tr>
822</table>
823</dl>    </td>
824  </tr>
825</table>
826<a name="z281_3" doxytag="XMLFormatter::writeBOM"></a><p>
827<table width="100%" cellpadding="2" cellspacing="0" border="0">
828  <tr>
829    <td class="md">
830      <table cellpadding="0" cellspacing="0" border="0">
831        <tr>
832          <td class="md" nowrap valign="top"> void XMLFormatter::writeBOM </td>
833          <td class="md" valign="top">(&nbsp;</td>
834          <td class="md" nowrap valign="top">const <a class="el" href="XercesDefs_8hpp.html#a16">XMLByte</a> *const&nbsp;</td>
835          <td class="mdname" nowrap>&nbsp; <em>toFormat</em>, </td>
836        </tr>
837        <tr>
838          <td></td>
839          <td></td>
840          <td class="md" nowrap>const unsigned int&nbsp;</td>
841          <td class="mdname" nowrap>&nbsp; <em>count</em></td>
842        </tr>
843        <tr>
844          <td></td>
845          <td class="md">)&nbsp;</td>
846          <td class="md" colspan="2"></td>
847        </tr>
848
849      </table>
850    </td>
851  </tr>
852</table>
853<table cellspacing=5 cellpadding=0 border=0>
854  <tr>
855    <td>
856      &nbsp;
857    </td>
858    <td>
859
860<p>
861    </td>
862  </tr>
863</table>
864<hr>The documentation for this class was generated from the following file:<ul>
865<li><a class="el" href="XMLFormatter_8hpp-source.html">XMLFormatter.hpp</a></ul>
866    </FONT></TD></TR></TABLE><BR>
867</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>
868              Copyright &copy; 1994-2004 The Apache Software Foundation.
869              All Rights Reserved.
870            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.