|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.9.1"/> <title>Xerces-C++: XMLFormatter Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Xerces-C++  <span id="projectnumber">3.1.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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><!-- top --> <div class="header"> <div class="summary"> <a href="classXMLFormatter-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">XMLFormatter Class Reference</div> </div> </div><!--header--> <div class="contents">
<p>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="classXMLFormatter.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for XMLFormatter:</div> <div class="dyncontent"> <div class="center"> <img src="classXMLFormatter.png" usemap="#XMLFormatter_map" alt=""/> <map id="XMLFormatter_map" name="XMLFormatter_map"> <area href="classXMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete operators to ..." alt="XMemory" shape="rect" coords="0,0,93,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">Public Constants</div></td></tr> <tr class="memitem:a748efc31a844072c83236280e145e0e8"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> { <br />   <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>, <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a218ea897b01814df4229d365547ec600">StdEscapes</a>, <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aff52ad32a2006a34378676e6019b9396">AttrEscapes</a>, <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a8851d57fb130313a0e070716b8c15f63">CharEscapes</a>, <br />   <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aaee87c39d183de7fa46cb0fa0b482c13">EscapeFlags_Count</a>, <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aba24d32a6108583913ffad18dba20ec6">DefaultEscape</a> = 999 <br /> }</td></tr> <tr class="memdesc:a748efc31a844072c83236280e145e0e8"><td class="mdescLeft"> </td><td class="mdescRight">EscapeFlags - Different styles of escape flags to control various formatting. <a href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">More...</a><br /></td></tr> <tr class="separator:a748efc31a844072c83236280e145e0e8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a81a2e32d442280c7bf2725a8c93cf48e"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> { <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>, <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48ea0ab5a7ce9a658e8aceb1d3f845b18098">UnRep_CharRef</a>, <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48ea2aef7a8a29067f331046d1441ce7a304">UnRep_Replace</a>, <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae3a12af64b10fc06eab9cacbcb8b776e">DefaultUnRep</a> = 999 }</td></tr> <tr class="memdesc:a81a2e32d442280c7bf2725a8c93cf48e"><td class="mdescLeft"> </td><td class="mdescRight">UnRepFlags. <a href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">More...</a><br /></td></tr> <tr class="separator:a81a2e32d442280c7bf2725a8c93cf48e"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">Constructor and Destructor</div></td></tr> <tr class="memitem:abebec14c6cc7ab7f72136758aaef83f4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#abebec14c6cc7ab7f72136758aaef83f4">XMLFormatter</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const outEncoding, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const docVersion, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr> <tr class="separator:abebec14c6cc7ab7f72136758aaef83f4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af73178c877c77540e662a6f3fcd80121"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#af73178c877c77540e662a6f3fcd80121">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#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr> <tr class="separator:af73178c877c77540e662a6f3fcd80121"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7746c80bba926d2ced433ac271dfd6c6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a7746c80bba926d2ced433ac271dfd6c6">XMLFormatter</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const outEncoding, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr> <tr class="separator:a7746c80bba926d2ced433ac271dfd6c6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a878c95eda5c59ca364c567545dc9a075"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a878c95eda5c59ca364c567545dc9a075">XMLFormatter</a> (const char *const outEncoding, <a class="el" href="classXMLFormatTarget.html">XMLFormatTarget</a> *const target, const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a>, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr> <tr class="separator:a878c95eda5c59ca364c567545dc9a075"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a45896fb0695b4e6964e3f2a6ed18d9b4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a45896fb0695b4e6964e3f2a6ed18d9b4">~XMLFormatter</a> ()</td></tr> <tr class="separator:a45896fb0695b4e6964e3f2a6ed18d9b4"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Formatting methods</div></td></tr> <tr class="memitem:a0d1746277f2762c2750fc79e289ea155"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a0d1746277f2762c2750fc79e289ea155">formatBuf</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const toFormat, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count, const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> escapeFlags=<a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aba24d32a6108583913ffad18dba20ec6">DefaultEscape</a>, const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> unrepFlags=<a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae3a12af64b10fc06eab9cacbcb8b776e">DefaultUnRep</a>)</td></tr> <tr class="separator:a0d1746277f2762c2750fc79e289ea155"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:affd7cb92a71db9a9a38903e6eaea2c32"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#affd7cb92a71db9a9a38903e6eaea2c32">operator<<</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const toFormat)</td></tr> <tr class="separator:affd7cb92a71db9a9a38903e6eaea2c32"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aff629c2fcb434b6668c5ead83ede1e83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#aff629c2fcb434b6668c5ead83ede1e83">operator<<</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> toFormat)</td></tr> <tr class="separator:aff629c2fcb434b6668c5ead83ede1e83"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8d252614d23d50de4034740c9bae544d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a8d252614d23d50de4034740c9bae544d">writeBOM</a> (const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const toFormat, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count)</td></tr> <tr class="separator:a8d252614d23d50de4034740c9bae544d"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr> <tr class="memitem:adab7f0c3362593dbdbd779c15ab1d5dc"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#adab7f0c3362593dbdbd779c15ab1d5dc">getEncodingName</a> () const </td></tr> <tr class="separator:adab7f0c3362593dbdbd779c15ab1d5dc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2fbe2dc5d70af17410941f318c9f13e1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a2fbe2dc5d70af17410941f318c9f13e1">getTranscoder</a> () const </td></tr> <tr class="separator:a2fbe2dc5d70af17410941f318c9f13e1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a37590068d7a07a4e49dc24a5769bcbef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a37590068d7a07a4e49dc24a5769bcbef">getTranscoder</a> ()</td></tr> <tr class="separator:a37590068d7a07a4e49dc24a5769bcbef"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr> <tr class="memitem:a3e4cf748f21dee5028fbbf05f3f92936"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a3e4cf748f21dee5028fbbf05f3f92936">setEscapeFlags</a> (const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> newFlags)</td></tr> <tr class="separator:a3e4cf748f21dee5028fbbf05f3f92936"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaa9e430e74dddc98bfcd73b8d81d3879"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#aaa9e430e74dddc98bfcd73b8d81d3879">setUnRepFlags</a> (const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> newFlags)</td></tr> <tr class="separator:aaa9e430e74dddc98bfcd73b8d81d3879"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abe8472dbafbf8870773fe42f17d24cc7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#abe8472dbafbf8870773fe42f17d24cc7">operator<<</a> (const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> newFlags)</td></tr> <tr class="separator:abe8472dbafbf8870773fe42f17d24cc7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3c65e0ce3f1384831f6e4cfd54de4e5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#a3c65e0ce3f1384831f6e4cfd54de4e5b">operator<<</a> (const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> newFlags)</td></tr> <tr class="separator:a3c65e0ce3f1384831f6e4cfd54de4e5b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad8e3fc00bcf307f9073eb9cf12b414d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#ad8e3fc00bcf307f9073eb9cf12b414d9">getEscapeFlags</a> () const </td></tr> <tr class="separator:ad8e3fc00bcf307f9073eb9cf12b414d9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aac2a568c66da13437bc696d9dcedb2ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLFormatter.html#aac2a568c66da13437bc696d9dcedb2ca">getUnRepFlags</a> () const </td></tr> <tr class="separator:aac2a568c66da13437bc696d9dcedb2ca"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classXMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classXMemory')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classXMemory.html">XMemory</a></td></tr> <tr class="memitem:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a717678d9deadc627a41fe0dddede9f7f">operator new</a> (size_t size)</td></tr> <tr class="memdesc:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method overrides operator new. <a href="#a717678d9deadc627a41fe0dddede9f7f">More...</a><br /></td></tr> <tr class="separator:a717678d9deadc627a41fe0dddede9f7f inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#ac3022fcc968c684a31c1e6a9ede83c10">operator new</a> (size_t size, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr> <tr class="memdesc:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method defines a custom operator new, that will use the provided memory manager to perform the allocation. <a href="#ac3022fcc968c684a31c1e6a9ede83c10">More...</a><br /></td></tr> <tr class="separator:ac3022fcc968c684a31c1e6a9ede83c10 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#aeaad885b799ac2188ffd28f76182339c">operator new</a> (size_t size, void *ptr)</td></tr> <tr class="memdesc:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method overrides placement operator new. <a href="#aeaad885b799ac2188ffd28f76182339c">More...</a><br /></td></tr> <tr class="separator:aeaad885b799ac2188ffd28f76182339c inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a9da30f1601ea458908cbf150fc2f8f8b">operator delete</a> (void *p)</td></tr> <tr class="memdesc:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method overrides operator delete. <a href="#a9da30f1601ea458908cbf150fc2f8f8b">More...</a><br /></td></tr> <tr class="separator:a9da30f1601ea458908cbf150fc2f8f8b inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a22efbc6459bdbe79f83b7791bba4d1f6">operator delete</a> (void *p, <a class="el" href="classMemoryManager.html">MemoryManager</a> *memMgr)</td></tr> <tr class="memdesc:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method provides a matching delete for the custom operator new. <a href="#a22efbc6459bdbe79f83b7791bba4d1f6">More...</a><br /></td></tr> <tr class="separator:a22efbc6459bdbe79f83b7791bba4d1f6 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#a32ee38b70d412e12f669cfbd86adf623">operator delete</a> (void *p, void *ptr)</td></tr> <tr class="memdesc:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">This method provides a matching delete for the placement new. <a href="#a32ee38b70d412e12f669cfbd86adf623">More...</a><br /></td></tr> <tr class="separator:a32ee38b70d412e12f669cfbd86adf623 inherit pub_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_methods_classXMemory"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classXMemory')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classXMemory.html">XMemory</a></td></tr> <tr class="memitem:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXMemory.html#ae5b8adaa10d5d9276b42823f47e06858">XMemory</a> ()</td></tr> <tr class="memdesc:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="mdescLeft"> </td><td class="mdescRight">Protected default constructor. <a href="#ae5b8adaa10d5d9276b42823f47e06858">More...</a><br /></td></tr> <tr class="separator:ae5b8adaa10d5d9276b42823f47e06858 inherit pro_methods_classXMemory"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>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> <p>A number of flags are provided to control whether various optional formatting operations are performed. </p> </div><h2 class="groupheader">Member Enumeration Documentation</h2> <a class="anchor" id="a748efc31a844072c83236280e145e0e8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">XMLFormatter::EscapeFlags</a></td> </tr> </table> </div><div class="memdoc">
<p>EscapeFlags - Different styles of escape flags to control various formatting. </p> <p><code>NoEscapes:</code> No character needs to be escaped. Just write them out as is.</p> <p><code>StdEscapes:</code> The following characters need to be escaped:</p> <table border="1"> <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:</p> <table border="1"> <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:</p> <table border="1"> <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> <p><code>DefaultEscape:</code> Special value, do not use directly.</p> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16"></a>NoEscapes </td><td class="fielddoc"> </td></tr> <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8a218ea897b01814df4229d365547ec600"></a>StdEscapes </td><td class="fielddoc"> </td></tr> <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8aff52ad32a2006a34378676e6019b9396"></a>AttrEscapes </td><td class="fielddoc"> </td></tr> <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8a8851d57fb130313a0e070716b8c15f63"></a>CharEscapes </td><td class="fielddoc"> </td></tr> <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8aaee87c39d183de7fa46cb0fa0b482c13"></a>EscapeFlags_Count </td><td class="fielddoc"> </td></tr> <tr><td class="fieldname"><a class="anchor" id="a748efc31a844072c83236280e145e0e8aba24d32a6108583913ffad18dba20ec6"></a>DefaultEscape </td><td class="fielddoc"> </td></tr> </table>
</div> </div> <a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">XMLFormatter::UnRepFlags</a></td> </tr> </table> </div><div class="memdoc">
<p>UnRepFlags. </p> <p>The unrepresentable flags that indicate how to react when a character cannot be represented in the target encoding.</p> <p><code>UnRep_Fail:</code> Fail the operation.</p> <p><code>UnRep_CharRef:</code> Display the unrepresented character as reference.</p> <p><code>UnRep_Replace:</code> Replace the unrepresented character with the replacement character.</p> <p><code>DefaultUnRep:</code> Special value, do not use directly.</p> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa"></a>UnRep_Fail </td><td class="fielddoc"> </td></tr> <tr><td class="fieldname"><a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48ea0ab5a7ce9a658e8aceb1d3f845b18098"></a>UnRep_CharRef </td><td class="fielddoc"> </td></tr> <tr><td class="fieldname"><a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48ea2aef7a8a29067f331046d1441ce7a304"></a>UnRep_Replace </td><td class="fielddoc"> </td></tr> <tr><td class="fieldname"><a class="anchor" id="a81a2e32d442280c7bf2725a8c93cf48eae3a12af64b10fc06eab9cacbcb8b776e"></a>DefaultUnRep </td><td class="fielddoc"> </td></tr> </table>
</div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="abebec14c6cc7ab7f72136758aaef83f4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">XMLFormatter::XMLFormatter </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const </td> <td class="paramname"><em>outEncoding</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const </td> <td class="paramname"><em>docVersion</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classXMLFormatTarget.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="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> </td> <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> </td> <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td> <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">outEncoding</td><td>the encoding for the formatted content. </td></tr> <tr><td class="paramname">docVersion</td><td>the document version. </td></tr> <tr><td class="paramname">target</td><td>the formatTarget where the formatted content is written to. </td></tr> <tr><td class="paramname">escapeFlags</td><td>the escape style for certain character. </td></tr> <tr><td class="paramname">unrepFlags</td><td>the reaction to unrepresentable character. </td></tr> <tr><td class="paramname">manager</td><td>Pointer to the memory manager to be used to allocate objects. </td></tr> </table> </dd> </dl>
</div> </div> <a class="anchor" id="af73178c877c77540e662a6f3fcd80121"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">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="classXMLFormatTarget.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="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> </td> <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> </td> <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td> <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc">
</div> </div> <a class="anchor" id="a7746c80bba926d2ced433ac271dfd6c6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">XMLFormatter::XMLFormatter </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const </td> <td class="paramname"><em>outEncoding</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classXMLFormatTarget.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="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> </td> <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> </td> <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td> <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc">
</div> </div> <a class="anchor" id="a878c95eda5c59ca364c567545dc9a075"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">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="classXMLFormatTarget.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="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> </td> <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8a2a74ac3785fc333a6800acd85c877e16">NoEscapes</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> </td> <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae9b78cf36dcde1a986145b3b8b7f46fa">UnRep_Fail</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td> <td class="paramname"><em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc">
</div> </div> <a class="anchor" id="a45896fb0695b4e6964e3f2a6ed18d9b4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">XMLFormatter::~XMLFormatter </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc">
</div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a0d1746277f2762c2750fc79e289ea155"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void XMLFormatter::formatBuf </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const </td> <td class="paramname"><em>toFormat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td> <td class="paramname"><em>count</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> </td> <td class="paramname"><em>escapeFlags</em> = <code><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8aba24d32a6108583913ffad18dba20ec6">DefaultEscape</a></code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> </td> <td class="paramname"><em>unrepFlags</em> = <code><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48eae3a12af64b10fc06eab9cacbcb8b776e">DefaultUnRep</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">toFormat</td><td>the string to be formatted </td></tr> <tr><td class="paramname">count</td><td>length of the string </td></tr> <tr><td class="paramname">escapeFlags</td><td>the escape style for formatting toFormat </td></tr> <tr><td class="paramname">unrepFlags</td><td>the reaction for any unrepresentable character in toFormat </td></tr> </table> </dd> </dl>
</div> </div> <a class="anchor" id="adab7f0c3362593dbdbd779c15ab1d5dc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * XMLFormatter::getEncodingName </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>return the encoding set for the formatted content </dd></dl>
</div> </div> <a class="anchor" id="ad8e3fc00bcf307f9073eb9cf12b414d9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">XMLFormatter::EscapeFlags</a> XMLFormatter::getEscapeFlags </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>return the escape style for the formatted content </dd></dl>
</div> </div> <a class="anchor" id="a2fbe2dc5d70af17410941f318c9f13e1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> * XMLFormatter::getTranscoder </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>return constant transcoder used internally for transcoding the formatter conent </dd></dl>
</div> </div> <a class="anchor" id="a37590068d7a07a4e49dc24a5769bcbef"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classXMLTranscoder.html">XMLTranscoder</a> * XMLFormatter::getTranscoder </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>return the transcoder used internally for transcoding the formatter content </dd></dl>
</div> </div> <a class="anchor" id="aac2a568c66da13437bc696d9dcedb2ca"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">XMLFormatter::UnRepFlags</a> XMLFormatter::getUnRepFlags </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>return the reaction for unrepresentable character </dd></dl>
</div> </div> <a class="anchor" id="affd7cb92a71db9a9a38903e6eaea2c32"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classXMLFormatter.html">XMLFormatter</a>& XMLFormatter::operator<< </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *const </td> <td class="paramname"><em>toFormat</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="section see"><dt>See also</dt><dd><a class="el" href="classXMLFormatter.html#a0d1746277f2762c2750fc79e289ea155">formatBuf</a> </dd></dl>
</div> </div> <a class="anchor" id="aff629c2fcb434b6668c5ead83ede1e83"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classXMLFormatter.html">XMLFormatter</a>& XMLFormatter::operator<< </td> <td>(</td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> </td> <td class="paramname"><em>toFormat</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc">
</div> </div> <a class="anchor" id="abe8472dbafbf8870773fe42f17d24cc7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> & XMLFormatter::operator<< </td> <td>(</td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> </td> <td class="paramname"><em>newFlags</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newFlags</td><td>set the escape style for the follow-on formatted content </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="classXMLFormatter.html#a3e4cf748f21dee5028fbbf05f3f92936">setEscapeFlags</a> </dd></dl>
</div> </div> <a class="anchor" id="a3c65e0ce3f1384831f6e4cfd54de4e5b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classXMLFormatter.html">XMLFormatter</a> & XMLFormatter::operator<< </td> <td>(</td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> </td> <td class="paramname"><em>newFlags</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newFlags</td><td>set the reaction for unrepresentable character </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="classXMLFormatter.html#aaa9e430e74dddc98bfcd73b8d81d3879">setUnRepFlags</a> </dd></dl>
</div> </div> <a class="anchor" id="a3e4cf748f21dee5028fbbf05f3f92936"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void XMLFormatter::setEscapeFlags </td> <td>(</td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a748efc31a844072c83236280e145e0e8">EscapeFlags</a> </td> <td class="paramname"><em>newFlags</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newFlags</td><td>set the escape style for the follow-on formatted content </td></tr> </table> </dd> </dl>
</div> </div> <a class="anchor" id="aaa9e430e74dddc98bfcd73b8d81d3879"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void XMLFormatter::setUnRepFlags </td> <td>(</td> <td class="paramtype">const <a class="el" href="classXMLFormatter.html#a81a2e32d442280c7bf2725a8c93cf48e">UnRepFlags</a> </td> <td class="paramname"><em>newFlags</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newFlags</td><td>set the reaction for unrepresentable character </td></tr> </table> </dd> </dl>
</div> </div> <a class="anchor" id="a8d252614d23d50de4034740c9bae544d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void XMLFormatter::writeBOM </td> <td>(</td> <td class="paramtype">const <a class="el" href="XercesDefs_8hpp.html#a7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const </td> <td class="paramname"><em>toFormat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td> <td class="paramname"><em>count</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc">
</div> </div> <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></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Mar 18 2015 10:43:39 for Xerces-C++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
|