You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<!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++: DOMLSSerializer.hpp Source File</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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_901b4356d5f32ee418b4c714d07fb65a.html">src</a></li><li class="navelem"><a class="el" href="dir_477226ead712f319998d821c029f7620.html">xercesc</a></li><li class="navelem"><a class="el" href="dir_1840366f9d8c81c84c4d016ceb839b4e.html">dom</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">DOMLSSerializer.hpp</div> </div> </div><!--header--> <div class="contents"> <a href="DOMLSSerializer_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * this work for additional information regarding copyright ownership.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * the License. You may obtain a copy of the License at</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * See the License for the specific language governing permissions and</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * limitations under the License.</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">/*</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * $Id: DOMLSSerializer.hpp 883665 2009-11-24 11:41:38Z borisk $</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMLSSERIALIZER_HPP)</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMLSSERIALIZER_HPP</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="preprocessor">#include <<a class="code" href="DOMNode_8hpp.html">xercesc/dom/DOMNode.hpp</a>></span></div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="preprocessor">#include <<a class="code" href="DOMLSSerializerFilter_8hpp.html">xercesc/dom/DOMLSSerializerFilter.hpp</a>></span></div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="preprocessor">#include <<a class="code" href="DOMErrorHandler_8hpp.html">xercesc/dom/DOMErrorHandler.hpp</a>></span></div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="preprocessor">#include <<a class="code" href="DOMConfiguration_8hpp.html">xercesc/dom/DOMConfiguration.hpp</a>></span></div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> </div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <a class="code" href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="keyword">class </span><a class="code" href="classDOMLSOutput.html">DOMLSOutput</a>;</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div> <div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="classDOMLSSerializer.html"> 275</a></span> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#a40e97a4d60600cb8128a2eb5d6504e26">CDOM_EXPORT</a> <a class="code" href="classDOMLSSerializer.html">DOMLSSerializer</a></div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span> {</div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="keyword">protected</span> :</div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="comment">// Hidden constructors</span></div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="classDOMLSSerializer.html#a1db28db26446dd9cabde4d9452a840f0"> 283</a></span> <span class="comment"></span> <a class="code" href="classDOMLSSerializer.html#a1db28db26446dd9cabde4d9452a840f0">DOMLSSerializer</a>() {};</div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="comment">// Unimplemented constructors and operators</span></div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="comment"></span> <a class="code" href="classDOMLSSerializer.html">DOMLSSerializer</a>(<span class="keyword">const</span> <a class="code" href="classDOMLSSerializer.html">DOMLSSerializer</a> &);</div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="code" href="classDOMLSSerializer.html">DOMLSSerializer</a> & operator = (<span class="keyword">const</span> <a class="code" href="classDOMLSSerializer.html">DOMLSSerializer</a> &);</div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span> </div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="comment">// All constructors are hidden, just the destructor is available</span></div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="classDOMLSSerializer.html#a364cb41e681f950fba7928b4f7cca824"> 306</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classDOMLSSerializer.html#a364cb41e681f950fba7928b4f7cca824">~DOMLSSerializer</a>() {};</div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span> </div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="comment">// Virtual DOMLSSerializer interface</span></div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="comment"></span> <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="comment">// Feature methods</span></div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classDOMConfiguration.html">DOMConfiguration</a>* getDomConfig() = 0;</div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span> </div> <div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="comment">// Setter methods</span></div> <div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNewLine(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newLine) = 0;</div> <div class="line"><a name="l00428"></a><span class="lineno"> 428</span> </div> <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFilter(<a class="code" href="classDOMLSSerializerFilter.html">DOMLSSerializerFilter</a> *filter) = 0;</div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span> </div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="comment">// Getter methods</span></div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getNewLine() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00453"></a><span class="lineno"> 453</span> </div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMLSSerializerFilter.html">DOMLSSerializerFilter</a>* getFilter() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span> </div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="comment">// Write methods</span></div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> write(<span class="keyword">const</span> <a class="code" href="classDOMNode.html">DOMNode</a>* nodeToWrite,</div> <div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <a class="code" href="classDOMLSOutput.html">DOMLSOutput</a>* <span class="keyword">const</span> destination) = 0;</div> <div class="line"><a name="l00485"></a><span class="lineno"> 485</span> </div> <div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> writeToURI(<span class="keyword">const</span> <a class="code" href="classDOMNode.html">DOMNode</a>* nodeToWrite,</div> <div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* uri) = 0;</div> <div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  <span class="keyword">virtual</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* writeToString(<span class="keyword">const</span> <a class="code" href="classDOMNode.html">DOMNode</a>* nodeToWrite, <a class="code" href="classMemoryManager.html">MemoryManager</a>* manager = NULL) = 0;</div> <div class="line"><a name="l00525"></a><span class="lineno"> 525</span> </div> <div class="line"><a name="l00527"></a><span class="lineno"> 527</span> </div> <div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  <span class="comment">// Non-standard Extension</span></div> <div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00539"></a><span class="lineno"> 539</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;</div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span> </div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</span> </div> <div class="line"><a name="l00543"></a><span class="lineno"> 543</span> };</div> <div class="line"><a name="l00544"></a><span class="lineno"> 544</span> </div> <div class="line"><a name="l00545"></a><span class="lineno"> 545</span> <a class="code" href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div> <div class="line"><a name="l00546"></a><span class="lineno"> 546</span> </div> <div class="line"><a name="l00547"></a><span class="lineno"> 547</span> <span class="preprocessor">#endif</span></div> <div class="ttc" id="classDOMConfiguration_html"><div class="ttname"><a href="classDOMConfiguration.html">DOMConfiguration</a></div><div class="ttdoc">The DOMConfiguration interface represents the configuration of a document and maintains a table of re...</div><div class="ttdef"><b>Definition:</b> DOMConfiguration.hpp:350</div></div> <div class="ttc" id="DOMConfiguration_8hpp_html"><div class="ttname"><a href="DOMConfiguration_8hpp.html">DOMConfiguration.hpp</a></div></div> <div class="ttc" id="DOMLSSerializerFilter_8hpp_html"><div class="ttname"><a href="DOMLSSerializerFilter_8hpp.html">DOMLSSerializerFilter.hpp</a></div></div> <div class="ttc" id="DOMErrorHandler_8hpp_html"><div class="ttname"><a href="DOMErrorHandler_8hpp.html">DOMErrorHandler.hpp</a></div></div> <div class="ttc" id="classDOMLSSerializerFilter_html"><div class="ttname"><a href="classDOMLSSerializerFilter.html">DOMLSSerializerFilter</a></div><div class="ttdoc">DOMLSSerializerFilter.hpp: interface for the DOMLSSerializerFilter class. </div><div class="ttdef"><b>Definition:</b> DOMLSSerializerFilter.hpp:47</div></div> <div class="ttc" id="classDOMLSSerializer_html"><div class="ttname"><a href="classDOMLSSerializer.html">DOMLSSerializer</a></div><div class="ttdef"><b>Definition:</b> DOMLSSerializer.hpp:275</div></div> <div class="ttc" id="classDOMLSOutput_html"><div class="ttname"><a href="classDOMLSOutput.html">DOMLSOutput</a></div><div class="ttdoc">This interface represents an output destination for data. </div><div class="ttdef"><b>Definition:</b> DOMLSOutput.hpp:39</div></div> <div class="ttc" id="classMemoryManager_html"><div class="ttname"><a href="classMemoryManager.html">MemoryManager</a></div><div class="ttdoc">Configurable memory manager. </div><div class="ttdef"><b>Definition:</b> MemoryManager.hpp:39</div></div> <div class="ttc" id="XercesDefs_8hpp_html_a40e97a4d60600cb8128a2eb5d6504e26"><div class="ttname"><a href="XercesDefs_8hpp.html#a40e97a4d60600cb8128a2eb5d6504e26">CDOM_EXPORT</a></div><div class="ttdeci">#define CDOM_EXPORT</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:166</div></div> <div class="ttc" id="XercesDefs_8hpp_html_a43d74fa53d868d978f3e97cbb78b194d"><div class="ttname"><a href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_BEGIN</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:112</div></div> <div class="ttc" id="classDOMLSSerializer_html_a364cb41e681f950fba7928b4f7cca824"><div class="ttname"><a href="classDOMLSSerializer.html#a364cb41e681f950fba7928b4f7cca824">DOMLSSerializer::~DOMLSSerializer</a></div><div class="ttdeci">virtual ~DOMLSSerializer()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> DOMLSSerializer.hpp:306</div></div> <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_a8cb107980a360c490ad7661f5d27cc0e"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a></div><div class="ttdeci">wchar_t XMLCh</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:92</div></div> <div class="ttc" id="classDOMLSSerializer_html_a1db28db26446dd9cabde4d9452a840f0"><div class="ttname"><a href="classDOMLSSerializer.html#a1db28db26446dd9cabde4d9452a840f0">DOMLSSerializer::DOMLSSerializer</a></div><div class="ttdeci">DOMLSSerializer()</div><div class="ttdef"><b>Definition:</b> DOMLSSerializer.hpp:283</div></div> <div class="ttc" id="XercesDefs_8hpp_html_af03d5cb905763ef7a7bd22ab82718285"><div class="ttname"><a href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_END</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:113</div></div> <div class="ttc" id="classDOMNode_html"><div class="ttname"><a href="classDOMNode.html">DOMNode</a></div><div class="ttdoc">The DOMNode interface is the primary datatype for the entire Document Object Model. </div><div class="ttdef"><b>Definition:</b> DOMNode.hpp:139</div></div> <div class="ttc" id="DOMNode_8hpp_html"><div class="ttname"><a href="DOMNode_8hpp.html">DOMNode.hpp</a></div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Mar 18 2015 10:43:36 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>
|