XQuilla/docs/dom3-api/DOMImplementation_8hpp_source.html
2020-02-17 22:24:47 +01:00

155 lines
22 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 DOM3 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&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</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>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_e6bd38fe602a947f4224dfe3c9d24481.html">xerces-c-src</a></li><li class="navelem"><a class="el" href="dir_eb0099cf839cef65d350c0a3df5315ad.html">src</a></li><li class="navelem"><a class="el" href="dir_7ef400d0cba7660fbeba32656f2e8856.html">xercesc</a></li><li class="navelem"><a class="el" href="dir_cf50e6b7905ca68e8eacb67c516ef759.html">dom</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">DOMImplementation.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="DOMImplementation_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>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<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>&#160;<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>&#160;<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>&#160;<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>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<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>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<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>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<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>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<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>&#160;<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>&#160;<span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * $Id: DOMImplementation.hpp 932889 2010-04-11 13:10:10Z borisk $</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMIMPLEMENTATION_HPP)</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMIMPLEMENTATION_HPP</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="DOMImplementationLS_8hpp.html">xercesc/dom/DOMImplementationLS.hpp</a>&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="DOMException_8hpp.html">xercesc/dom/DOMException.hpp</a>&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="DOMLSException_8hpp.html">xercesc/dom/DOMLSException.hpp</a>&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="DOMRangeException_8hpp.html">xercesc/dom/DOMRangeException.hpp</a>&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;XERCES_CPP_NAMESPACE_BEGIN</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">class </span>DOMDocument;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">class </span>DOMDocumentType;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classxercesc_1_1DOMImplementation.html"> 43</a></span>&#160;<span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> : <span class="keyword">public</span> <a class="code" href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;{</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="comment">// Hidden constructors</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classxercesc_1_1DOMImplementation.html#a6618b35cb48c4c515977f4ba8f6d1901"> 51</a></span>&#160;<span class="comment"></span> <a class="code" href="classxercesc_1_1DOMImplementation.html#a6618b35cb48c4c515977f4ba8f6d1901">DOMImplementation</a>() {}; <span class="comment">// no plain constructor</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="comment">// Unimplemented constructors and operators</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="comment"></span> <a class="code" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> &amp;); <span class="comment">// no copy constructor.</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> &amp; operator = (<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> &amp;); <span class="comment">// No Assignment</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="comment">// All constructors are hidden, just the destructor is available</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classxercesc_1_1DOMImplementation.html#aeb1dd496f5809c4c9c2c5429c0fca11f"> 75</a></span>&#160;<span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMImplementation.html#aeb1dd496f5809c4c9c2c5429c0fca11f">~DOMImplementation</a>() {};</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="comment">// Virtual DOMImplementation interface</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasFeature(<span class="keyword">const</span> XMLCh *feature, <span class="keyword">const</span> XMLCh *version) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="comment">// Functions introduced in DOM Level 2</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> *createDocumentType(<span class="keyword">const</span> XMLCh *qualifiedName,</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keyword">const</span> XMLCh *publicId,</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keyword">const</span> XMLCh *systemId) = 0;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> *createDocument(<span class="keyword">const</span> XMLCh *namespaceURI,</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keyword">const</span> XMLCh *qualifiedName,</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <a class="code" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> *doctype,</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager) = 0;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="comment">// Functions introduced in DOM Level 3</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span>* getFeature(<span class="keyword">const</span> XMLCh* feature, <span class="keyword">const</span> XMLCh* version) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="comment">// Non-standard extension</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> *createDocument(<a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = XMLPlatformUtils::fgMemoryManager) = 0;</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keyword">static</span> <a class="code" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> *getImplementation();</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> loadDOMExceptionMsg</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; (</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keyword">const</span> <span class="keywordtype">short</span> msgToLoad</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; , XMLCh* <span class="keyword">const</span> toFill</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; , <span class="keyword">const</span> XMLSize_t maxChars</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; );</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;};</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;XERCES_CPP_NAMESPACE_END</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="classxercesc_1_1MemoryManager_html"><div class="ttname"><a href="classxercesc_1_1MemoryManager.html">xercesc::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="DOMImplementationLS_8hpp_html"><div class="ttname"><a href="DOMImplementationLS_8hpp.html">DOMImplementationLS.hpp</a></div></div>
<div class="ttc" id="DOMRangeException_8hpp_html"><div class="ttname"><a href="DOMRangeException_8hpp.html">DOMRangeException.hpp</a></div></div>
<div class="ttc" id="classxercesc_1_1DOMDocument_html"><div class="ttname"><a href="classxercesc_1_1DOMDocument.html">xercesc::DOMDocument</a></div><div class="ttdoc">The DOMDocument interface represents the entire XML document. </div><div class="ttdef"><b>Definition:</b> DOMDocument.hpp:64</div></div>
<div class="ttc" id="classxercesc_1_1DOMImplementationLS_html"><div class="ttname"><a href="classxercesc_1_1DOMImplementationLS.html">xercesc::DOMImplementationLS</a></div><div class="ttdef"><b>Definition:</b> DOMImplementationLS.hpp:49</div></div>
<div class="ttc" id="DOMException_8hpp_html"><div class="ttname"><a href="DOMException_8hpp.html">DOMException.hpp</a></div></div>
<div class="ttc" id="PlatformUtils_8hpp_html"><div class="ttname"><a href="PlatformUtils_8hpp.html">PlatformUtils.hpp</a></div></div>
<div class="ttc" id="DOMLSException_8hpp_html"><div class="ttname"><a href="DOMLSException_8hpp.html">DOMLSException.hpp</a></div></div>
<div class="ttc" id="classxercesc_1_1DOMImplementation_html"><div class="ttname"><a href="classxercesc_1_1DOMImplementation.html">xercesc::DOMImplementation</a></div><div class="ttdoc">The DOMImplementation interface provides a number of methods for performing operations that are indep...</div><div class="ttdef"><b>Definition:</b> DOMImplementation.hpp:43</div></div>
<div class="ttc" id="classxercesc_1_1DOMDocumentType_html"><div class="ttname"><a href="classxercesc_1_1DOMDocumentType.html">xercesc::DOMDocumentType</a></div><div class="ttdoc">Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...</div><div class="ttdef"><b>Definition:</b> DOMDocumentType.hpp:45</div></div>
<div class="ttc" id="classxercesc_1_1DOMImplementation_html_aeb1dd496f5809c4c9c2c5429c0fca11f"><div class="ttname"><a href="classxercesc_1_1DOMImplementation.html#aeb1dd496f5809c4c9c2c5429c0fca11f">xercesc::DOMImplementation::~DOMImplementation</a></div><div class="ttdeci">virtual ~DOMImplementation()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> DOMImplementation.hpp:75</div></div>
<div class="ttc" id="classxercesc_1_1DOMImplementation_html_a6618b35cb48c4c515977f4ba8f6d1901"><div class="ttname"><a href="classxercesc_1_1DOMImplementation.html#a6618b35cb48c4c515977f4ba8f6d1901">xercesc::DOMImplementation::DOMImplementation</a></div><div class="ttdeci">DOMImplementation()</div><div class="ttdef"><b>Definition:</b> DOMImplementation.hpp:51</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>