1039 lines
54 KiB
HTML
1039 lines
54 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>XQilla Simple API Documentation</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.5.1 -->
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul></div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul></div>
|
|
<div class="nav">
|
|
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1XMLFormatter.html">XMLFormatter</a></div>
|
|
<h1>xercesc::XMLFormatter Class Reference</h1><!-- doxytag: class="xercesc::XMLFormatter" --><!-- doxytag: inherits="xercesc::XMemory" -->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.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="XMLFormatter_8hpp-source.html">XMLFormatter.hpp</a>></code>
|
|
<p>
|
|
Inheritance diagram for xercesc::XMLFormatter:<p><center><img src="classxercesc_1_1XMLFormatter__inherit__graph.png" border="0" usemap="#xercesc_1_1XMLFormatter__inherit__map" alt="Inheritance graph"></center>
|
|
<map name="xercesc_1_1XMLFormatter__inherit__map">
|
|
<area href="classxercesc_1_1XMemory.html" shape="rect" coords="20,7,167,31" alt="">
|
|
</map>
|
|
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxercesc_1_1XMLFormatter-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Public Contants</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> { <br>
|
|
<a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95f1a0a45dd87c64f35ed446f15c08f50e">NoEscapes</a>,
|
|
<a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95dd13237c9b75bd010a3888da7658d715">StdEscapes</a>,
|
|
<a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b9513db941ceeeab6da0cfab212765ac0f5">AttrEscapes</a>,
|
|
<a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95a4ab66035e3e3ec7f1181a0ae02b29f8">CharEscapes</a>,
|
|
<br>
|
|
<a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95a40f95ca4645f9121d01b881e268f371">EscapeFlags_Count</a>,
|
|
<a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b954cda7860dd5e6cbfb600e94b2abd8ca3">DefaultEscape</a> = 999
|
|
<br>
|
|
}</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">EscapeFlags - Different styles of escape flags to control various formatting. <a href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">More...</a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> { <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c695bee848024ce4e790bad3e68896eee">UnRep_Fail</a>,
|
|
<a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c603ee35ca43c94a0236bbeb8ae13549f">UnRep_CharRef</a>,
|
|
<a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715ccc0ff5dd21e03ce3ef414882f757d366">UnRep_Replace</a>,
|
|
<a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715cf5fa79bda55e5fee2c709bc31d4b6890">DefaultUnRep</a> = 999
|
|
}</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">UnRepFlags. <a href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">More...</a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Formatting methods</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#d8790ca1bdcc62ba70b1c0f2df3a57d4">formatBuf</a> (const XMLCh *const toFormat, const unsigned int count, const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> escapeFlags=DefaultEscape, const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> unrepFlags=DefaultUnRep)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>toFormat</em> </td><td>the string to be formatted </td></tr>
|
|
</table>
|
|
</dl>
|
|
<a href="#d8790ca1bdcc62ba70b1c0f2df3a57d4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxercesc_1_1XMLFormatter.html">XMLFormatter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#ae530c9afc0e1ebf6a018647d7b4d518">operator<<</a> (const XMLCh *const toFormat)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1XMLFormatter.html#d8790ca1bdcc62ba70b1c0f2df3a57d4">formatBuf</a> </dd></dl>
|
|
<a href="#ae530c9afc0e1ebf6a018647d7b4d518"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxercesc_1_1XMLFormatter.html">XMLFormatter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#efc452db08bf69594833aa5face03b92">operator<<</a> (const XMLCh toFormat)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#720cb8a8c55b19760eda3ecac9a22edf">writeBOM</a> (const XMLByte *const toFormat, const unsigned int count)</td></tr>
|
|
|
|
<tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#1b4315d56ee78c4713dcf93b7788703f">getEncodingName</a> () const</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="return" compact><dt><b>Returns:</b></dt><dd>return the encoding set for the formatted content </dd></dl>
|
|
<a href="#1b4315d56ee78c4713dcf93b7788703f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLTranscoder * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#1eac862c839c9204d638a89eec0418f5">getTranscoder</a> () const</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="return" compact><dt><b>Returns:</b></dt><dd>return the transcoder used internally for transcoding the formatter conent </dd></dl>
|
|
<a href="#1eac862c839c9204d638a89eec0418f5"></a><br></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#f019c1de994c34187271365c0e75bb9a">setEscapeFlags</a> (const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> newFlags)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>newFlags</em> </td><td>set the escape style for the follow-on formatted content </td></tr>
|
|
</table>
|
|
</dl>
|
|
<a href="#f019c1de994c34187271365c0e75bb9a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#8883cfb0ace1a00353b79a1d6cf2464d">setUnRepFlags</a> (const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> newFlags)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>newFlags</em> </td><td>set the reaction for unrepresentable character </td></tr>
|
|
</table>
|
|
</dl>
|
|
<a href="#8883cfb0ace1a00353b79a1d6cf2464d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxercesc_1_1XMLFormatter.html">XMLFormatter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#9255643504940df558e6b978ac1596f4">operator<<</a> (const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> newFlags)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>newFlags</em> </td><td>set the escape style for the follow-on formatted content </td></tr>
|
|
</table>
|
|
</dl>
|
|
<a href="#9255643504940df558e6b978ac1596f4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxercesc_1_1XMLFormatter.html">XMLFormatter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#5401b57187d6c16327cf8230cf795914">operator<<</a> (const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> newFlags)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>newFlags</em> </td><td>set the reaction for unrepresentable character </td></tr>
|
|
</table>
|
|
</dl>
|
|
<a href="#5401b57187d6c16327cf8230cf795914"></a><br></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#b377e8203ef590a14ec095f7e60e3cc1">getEscapeFlags</a> () const</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="return" compact><dt><b>Returns:</b></dt><dd>return the escape style for the formatted content </dd></dl>
|
|
<a href="#b377e8203ef590a14ec095f7e60e3cc1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1XMLFormatter.html#7c0d7b0031b44aba5badd0e8e93d640c">getUnRepFlags</a> () const</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="return" compact><dt><b>Returns:</b></dt><dd>return the reaction for unrepresentable character </dd></dl>
|
|
<a href="#7c0d7b0031b44aba5badd0e8e93d640c"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
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.
|
|
<p>
|
|
A number of flags are provided to control whether various optional formatting operations are performed.
|
|
<p>
|
|
<hr><h2>Member Enumeration Documentation</h2>
|
|
<a class="anchor" name="dcf156fb89497dcc1406227d0c7d4b95"></a><!-- doxytag: member="xercesc::XMLFormatter::EscapeFlags" ref="dcf156fb89497dcc1406227d0c7d4b95" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">xercesc::XMLFormatter::EscapeFlags</a> </td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
EscapeFlags - Different styles of escape flags to control various formatting.
|
|
<p>
|
|
<code>NoEscapes:</code> No character needs to be escaped. Just write them out as is. <p>
|
|
<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>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">& </td><td valign="top" rowspan="1" colspan="1">&amp; </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">> </td><td valign="top" rowspan="1" colspan="1">&gt; </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">" </td><td valign="top" rowspan="1" colspan="1">&quot; </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">< </td><td valign="top" rowspan="1" colspan="1">&lt; </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">' </td><td valign="top" rowspan="1" colspan="1">&apos; </td></tr>
|
|
</table>
|
|
<p>
|
|
<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>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">& </td><td valign="top" rowspan="1" colspan="1">&amp; </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">> </td><td valign="top" rowspan="1" colspan="1">&gt; </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">" </td><td valign="top" rowspan="1" colspan="1">&quot; </td></tr>
|
|
</table>
|
|
<p>
|
|
<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>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">& </td><td valign="top" rowspan="1" colspan="1">&amp; </td></tr>
|
|
<tr>
|
|
<td valign="top" rowspan="1" colspan="1">> </td><td valign="top" rowspan="1" colspan="1">&gt; </td></tr>
|
|
</table>
|
|
<p>
|
|
<code>EscapeFlags_Count:</code> Special value, do not use directly. <p>
|
|
<code>DefaultEscape:</code> Special value, do not use directly. <dl compact><dt><b>Enumerator: </b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"><em><a class="anchor" name="dcf156fb89497dcc1406227d0c7d4b95f1a0a45dd87c64f35ed446f15c08f50e"></a><!-- doxytag: member="NoEscapes" ref="dcf156fb89497dcc1406227d0c7d4b95f1a0a45dd87c64f35ed446f15c08f50e" args="" -->NoEscapes</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="dcf156fb89497dcc1406227d0c7d4b95dd13237c9b75bd010a3888da7658d715"></a><!-- doxytag: member="StdEscapes" ref="dcf156fb89497dcc1406227d0c7d4b95dd13237c9b75bd010a3888da7658d715" args="" -->StdEscapes</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="dcf156fb89497dcc1406227d0c7d4b9513db941ceeeab6da0cfab212765ac0f5"></a><!-- doxytag: member="AttrEscapes" ref="dcf156fb89497dcc1406227d0c7d4b9513db941ceeeab6da0cfab212765ac0f5" args="" -->AttrEscapes</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="dcf156fb89497dcc1406227d0c7d4b95a4ab66035e3e3ec7f1181a0ae02b29f8"></a><!-- doxytag: member="CharEscapes" ref="dcf156fb89497dcc1406227d0c7d4b95a4ab66035e3e3ec7f1181a0ae02b29f8" args="" -->CharEscapes</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="dcf156fb89497dcc1406227d0c7d4b95a40f95ca4645f9121d01b881e268f371"></a><!-- doxytag: member="EscapeFlags_Count" ref="dcf156fb89497dcc1406227d0c7d4b95a40f95ca4645f9121d01b881e268f371" args="" -->EscapeFlags_Count</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="dcf156fb89497dcc1406227d0c7d4b954cda7860dd5e6cbfb600e94b2abd8ca3"></a><!-- doxytag: member="DefaultEscape" ref="dcf156fb89497dcc1406227d0c7d4b954cda7860dd5e6cbfb600e94b2abd8ca3" args="" -->DefaultEscape</em> </td><td>
|
|
</td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="08104c01dcd00f1a414582c77375715c"></a><!-- doxytag: member="xercesc::XMLFormatter::UnRepFlags" ref="08104c01dcd00f1a414582c77375715c" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">xercesc::XMLFormatter::UnRepFlags</a> </td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
UnRepFlags.
|
|
<p>
|
|
The unrepresentable flags that indicate how to react when a character cannot be represented in the target encoding.<p>
|
|
<code>UnRep_Fail:</code> Fail the operation. <p>
|
|
<code>UnRep_CharRef:</code> Display the unrepresented character as reference. <p>
|
|
<code>UnRep_Replace:</code> Replace the unrepresented character with the replacement character. <p>
|
|
<code>DefaultUnRep:</code> Special value, do not use directly. <dl compact><dt><b>Enumerator: </b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"><em><a class="anchor" name="08104c01dcd00f1a414582c77375715c695bee848024ce4e790bad3e68896eee"></a><!-- doxytag: member="UnRep_Fail" ref="08104c01dcd00f1a414582c77375715c695bee848024ce4e790bad3e68896eee" args="" -->UnRep_Fail</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="08104c01dcd00f1a414582c77375715c603ee35ca43c94a0236bbeb8ae13549f"></a><!-- doxytag: member="UnRep_CharRef" ref="08104c01dcd00f1a414582c77375715c603ee35ca43c94a0236bbeb8ae13549f" args="" -->UnRep_CharRef</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="08104c01dcd00f1a414582c77375715ccc0ff5dd21e03ce3ef414882f757d366"></a><!-- doxytag: member="UnRep_Replace" ref="08104c01dcd00f1a414582c77375715ccc0ff5dd21e03ce3ef414882f757d366" args="" -->UnRep_Replace</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="08104c01dcd00f1a414582c77375715cf5fa79bda55e5fee2c709bc31d4b6890"></a><!-- doxytag: member="DefaultUnRep" ref="08104c01dcd00f1a414582c77375715cf5fa79bda55e5fee2c709bc31d4b6890" args="" -->DefaultUnRep</em> </td><td>
|
|
</td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="9965b838e7230483b84b783050debe50"></a><!-- doxytag: member="xercesc::XMLFormatter::XMLFormatter" ref="9965b838e7230483b84b783050debe50" args="(const XMLCh *const outEncoding, const XMLCh *const docVersion, XMLFormatTarget *const target, const EscapeFlags escapeFlags=NoEscapes, const UnRepFlags unrepFlags=UnRep_Fail, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>outEncoding</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>docVersion</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1XMLFormatTarget.html">XMLFormatTarget</a> *const </td>
|
|
<td class="paramname"> <em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>escapeFlags</em> = <code>NoEscapes</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>unrepFlags</em> = <code>UnRep_Fail</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>outEncoding</em> </td><td>the encoding for the formatted content </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>docVersion</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>target</em> </td><td>the formatTarget where the formatted content is written to </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>escapeFlags</em> </td><td>the escape style for certain character </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>unrepFlags</em> </td><td>the reaction to unrepresentable character </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>manager</em> </td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="f75700e84ed4eb94c898908b76a50c18"></a><!-- doxytag: member="xercesc::XMLFormatter::XMLFormatter" ref="f75700e84ed4eb94c898908b76a50c18" args="(const char *const outEncoding, const char *const docVersion, XMLFormatTarget *const target, const EscapeFlags escapeFlags=NoEscapes, const UnRepFlags unrepFlags=UnRep_Fail, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *const </td>
|
|
<td class="paramname"> <em>outEncoding</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char *const </td>
|
|
<td class="paramname"> <em>docVersion</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1XMLFormatTarget.html">XMLFormatTarget</a> *const </td>
|
|
<td class="paramname"> <em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>escapeFlags</em> = <code>NoEscapes</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>unrepFlags</em> = <code>UnRep_Fail</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="192107350f29b50b86d58b01fc95a68f"></a><!-- doxytag: member="xercesc::XMLFormatter::XMLFormatter" ref="192107350f29b50b86d58b01fc95a68f" args="(const XMLCh *const outEncoding, XMLFormatTarget *const target, const EscapeFlags escapeFlags=NoEscapes, const UnRepFlags unrepFlags=UnRep_Fail, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>outEncoding</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1XMLFormatTarget.html">XMLFormatTarget</a> *const </td>
|
|
<td class="paramname"> <em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>escapeFlags</em> = <code>NoEscapes</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>unrepFlags</em> = <code>UnRep_Fail</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="5a76fbc8be39440005ae0396cdd5065f"></a><!-- doxytag: member="xercesc::XMLFormatter::XMLFormatter" ref="5a76fbc8be39440005ae0396cdd5065f" args="(const char *const outEncoding, XMLFormatTarget *const target, const EscapeFlags escapeFlags=NoEscapes, const UnRepFlags unrepFlags=UnRep_Fail, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *const </td>
|
|
<td class="paramname"> <em>outEncoding</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1XMLFormatTarget.html">XMLFormatTarget</a> *const </td>
|
|
<td class="paramname"> <em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>escapeFlags</em> = <code>NoEscapes</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>unrepFlags</em> = <code>UnRep_Fail</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="463379c996f5c6df63e98c6c3fe1e3d3"></a><!-- doxytag: member="xercesc::XMLFormatter::~XMLFormatter" ref="463379c996f5c6df63e98c6c3fe1e3d3" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::~XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="9965b838e7230483b84b783050debe50"></a><!-- doxytag: member="xercesc::XMLFormatter::XMLFormatter" ref="9965b838e7230483b84b783050debe50" args="(const XMLCh *const outEncoding, const XMLCh *const docVersion, XMLFormatTarget *const target, const EscapeFlags escapeFlags=NoEscapes, const UnRepFlags unrepFlags=UnRep_Fail, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>outEncoding</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>docVersion</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1XMLFormatTarget.html">XMLFormatTarget</a> *const </td>
|
|
<td class="paramname"> <em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>escapeFlags</em> = <code>NoEscapes</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>unrepFlags</em> = <code>UnRep_Fail</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>outEncoding</em> </td><td>the encoding for the formatted content </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>docVersion</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>target</em> </td><td>the formatTarget where the formatted content is written to </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>escapeFlags</em> </td><td>the escape style for certain character </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>unrepFlags</em> </td><td>the reaction to unrepresentable character </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>manager</em> </td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="f75700e84ed4eb94c898908b76a50c18"></a><!-- doxytag: member="xercesc::XMLFormatter::XMLFormatter" ref="f75700e84ed4eb94c898908b76a50c18" args="(const char *const outEncoding, const char *const docVersion, XMLFormatTarget *const target, const EscapeFlags escapeFlags=NoEscapes, const UnRepFlags unrepFlags=UnRep_Fail, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *const </td>
|
|
<td class="paramname"> <em>outEncoding</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char *const </td>
|
|
<td class="paramname"> <em>docVersion</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1XMLFormatTarget.html">XMLFormatTarget</a> *const </td>
|
|
<td class="paramname"> <em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>escapeFlags</em> = <code>NoEscapes</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>unrepFlags</em> = <code>UnRep_Fail</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="192107350f29b50b86d58b01fc95a68f"></a><!-- doxytag: member="xercesc::XMLFormatter::XMLFormatter" ref="192107350f29b50b86d58b01fc95a68f" args="(const XMLCh *const outEncoding, XMLFormatTarget *const target, const EscapeFlags escapeFlags=NoEscapes, const UnRepFlags unrepFlags=UnRep_Fail, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>outEncoding</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1XMLFormatTarget.html">XMLFormatTarget</a> *const </td>
|
|
<td class="paramname"> <em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>escapeFlags</em> = <code>NoEscapes</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>unrepFlags</em> = <code>UnRep_Fail</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="5a76fbc8be39440005ae0396cdd5065f"></a><!-- doxytag: member="xercesc::XMLFormatter::XMLFormatter" ref="5a76fbc8be39440005ae0396cdd5065f" args="(const char *const outEncoding, XMLFormatTarget *const target, const EscapeFlags escapeFlags=NoEscapes, const UnRepFlags unrepFlags=UnRep_Fail, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *const </td>
|
|
<td class="paramname"> <em>outEncoding</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1XMLFormatTarget.html">XMLFormatTarget</a> *const </td>
|
|
<td class="paramname"> <em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>escapeFlags</em> = <code>NoEscapes</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>unrepFlags</em> = <code>UnRep_Fail</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const </td>
|
|
<td class="paramname"> <em>manager</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="463379c996f5c6df63e98c6c3fe1e3d3"></a><!-- doxytag: member="xercesc::XMLFormatter::~XMLFormatter" ref="463379c996f5c6df63e98c6c3fe1e3d3" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::XMLFormatter::~XMLFormatter </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="d8790ca1bdcc62ba70b1c0f2df3a57d4"></a><!-- doxytag: member="xercesc::XMLFormatter::formatBuf" ref="d8790ca1bdcc62ba70b1c0f2df3a57d4" args="(const XMLCh *const toFormat, const unsigned int count, const EscapeFlags escapeFlags=DefaultEscape, const UnRepFlags unrepFlags=DefaultUnRep)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void xercesc::XMLFormatter::formatBuf </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>toFormat</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const unsigned int </td>
|
|
<td class="paramname"> <em>count</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>escapeFlags</em> = <code>DefaultEscape</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>unrepFlags</em> = <code>DefaultUnRep</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>toFormat</em> </td><td>the string to be formatted </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>count</em> </td><td>length of the string </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>escapeFlags</em> </td><td>the escape style for formatting toFormat </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>unrepFlags</em> </td><td>the reaction for any unrepresentable character in toFormat </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="ae530c9afc0e1ebf6a018647d7b4d518"></a><!-- doxytag: member="xercesc::XMLFormatter::operator<<" ref="ae530c9afc0e1ebf6a018647d7b4d518" args="(const XMLCh *const toFormat)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classxercesc_1_1XMLFormatter.html">XMLFormatter</a>& xercesc::XMLFormatter::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>toFormat</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1XMLFormatter.html#d8790ca1bdcc62ba70b1c0f2df3a57d4">formatBuf</a> </dd></dl>
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="efc452db08bf69594833aa5face03b92"></a><!-- doxytag: member="xercesc::XMLFormatter::operator<<" ref="efc452db08bf69594833aa5face03b92" args="(const XMLCh toFormat)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classxercesc_1_1XMLFormatter.html">XMLFormatter</a>& xercesc::XMLFormatter::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh </td>
|
|
<td class="paramname"> <em>toFormat</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="720cb8a8c55b19760eda3ecac9a22edf"></a><!-- doxytag: member="xercesc::XMLFormatter::writeBOM" ref="720cb8a8c55b19760eda3ecac9a22edf" args="(const XMLByte *const toFormat, const unsigned int count)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void xercesc::XMLFormatter::writeBOM </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLByte *const </td>
|
|
<td class="paramname"> <em>toFormat</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const unsigned int </td>
|
|
<td class="paramname"> <em>count</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="1b4315d56ee78c4713dcf93b7788703f"></a><!-- doxytag: member="xercesc::XMLFormatter::getEncodingName" ref="1b4315d56ee78c4713dcf93b7788703f" args="() const" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const XMLCh * xercesc::XMLFormatter::getEncodingName </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>return the encoding set for the formatted content </dd></dl>
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="1eac862c839c9204d638a89eec0418f5"></a><!-- doxytag: member="xercesc::XMLFormatter::getTranscoder" ref="1eac862c839c9204d638a89eec0418f5" args="() const" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const XMLTranscoder * xercesc::XMLFormatter::getTranscoder </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>return the transcoder used internally for transcoding the formatter conent </dd></dl>
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="f019c1de994c34187271365c0e75bb9a"></a><!-- doxytag: member="xercesc::XMLFormatter::setEscapeFlags" ref="f019c1de994c34187271365c0e75bb9a" args="(const EscapeFlags newFlags)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void xercesc::XMLFormatter::setEscapeFlags </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>newFlags</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>newFlags</em> </td><td>set the escape style for the follow-on formatted content </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="8883cfb0ace1a00353b79a1d6cf2464d"></a><!-- doxytag: member="xercesc::XMLFormatter::setUnRepFlags" ref="8883cfb0ace1a00353b79a1d6cf2464d" args="(const UnRepFlags newFlags)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void xercesc::XMLFormatter::setUnRepFlags </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>newFlags</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>newFlags</em> </td><td>set the reaction for unrepresentable character </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="9255643504940df558e6b978ac1596f4"></a><!-- doxytag: member="xercesc::XMLFormatter::operator<<" ref="9255643504940df558e6b978ac1596f4" args="(const EscapeFlags newFlags)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classxercesc_1_1XMLFormatter.html">XMLFormatter</a> & xercesc::XMLFormatter::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">EscapeFlags</a> </td>
|
|
<td class="paramname"> <em>newFlags</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>newFlags</em> </td><td>set the escape style for the follow-on formatted content </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1XMLFormatter.html#f019c1de994c34187271365c0e75bb9a">setEscapeFlags</a> </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="5401b57187d6c16327cf8230cf795914"></a><!-- doxytag: member="xercesc::XMLFormatter::operator<<" ref="5401b57187d6c16327cf8230cf795914" args="(const UnRepFlags newFlags)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classxercesc_1_1XMLFormatter.html">XMLFormatter</a> & xercesc::XMLFormatter::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">UnRepFlags</a> </td>
|
|
<td class="paramname"> <em>newFlags</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>newFlags</em> </td><td>set the reaction for unrepresentable character </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1XMLFormatter.html#8883cfb0ace1a00353b79a1d6cf2464d">setUnRepFlags</a> </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="b377e8203ef590a14ec095f7e60e3cc1"></a><!-- doxytag: member="xercesc::XMLFormatter::getEscapeFlags" ref="b377e8203ef590a14ec095f7e60e3cc1" args="() const" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classxercesc_1_1XMLFormatter.html#dcf156fb89497dcc1406227d0c7d4b95">XMLFormatter::EscapeFlags</a> xercesc::XMLFormatter::getEscapeFlags </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>return the escape style for the formatted content </dd></dl>
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="7c0d7b0031b44aba5badd0e8e93d640c"></a><!-- doxytag: member="xercesc::XMLFormatter::getUnRepFlags" ref="7c0d7b0031b44aba5badd0e8e93d640c" args="() const" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classxercesc_1_1XMLFormatter.html#08104c01dcd00f1a414582c77375715c">XMLFormatter::UnRepFlags</a> xercesc::XMLFormatter::getUnRepFlags </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>return the reaction for unrepresentable character </dd></dl>
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="XMLFormatter_8hpp-source.html">XMLFormatter.hpp</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 12 20:17:03 2007 for XQilla Simple API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
</body>
|
|
</html>
|