|
|
<!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++: DOMNode.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">DOMNode.hpp</div> </div> </div><!--header--> <div class="contents"> <a href="DOMNode_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: DOMNode.hpp 932887 2010-04-11 13:04:59Z 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_DOMNODE_HPP)</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMNODE_HPP</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="XercesDefs_8hpp.html">xercesc/util/XercesDefs.hpp</a>></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <a class="code" href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">class </span><a class="code" href="classDOMDocument.html">DOMDocument</a>;</div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">class </span><a class="code" href="classDOMNamedNodeMap.html">DOMNamedNodeMap</a>;</div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">class </span><a class="code" href="classDOMNodeList.html">DOMNodeList</a>;</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">class </span><a class="code" href="classDOMUserDataHandler.html">DOMUserDataHandler</a>;</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> <div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classDOMNode.html"> 139</a></span> <span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#a40e97a4d60600cb8128a2eb5d6504e26">CDOM_EXPORT</a> <a class="code" href="classDOMNode.html">DOMNode</a> {</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">protected</span>:</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="comment">// Hidden constructors</span></div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classDOMNode.html#a85f63599baf0d6c8bac93da940c33306"> 146</a></span> <span class="comment"></span> <a class="code" href="classDOMNode.html#a85f63599baf0d6c8bac93da940c33306">DOMNode</a>() {}</div> <div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="classDOMNode.html#a12a6ce394f39e1c0fff128cfcf6d6fea"> 147</a></span>  <a class="code" href="classDOMNode.html#a12a6ce394f39e1c0fff128cfcf6d6fea">DOMNode</a>(<span class="keyword">const</span> <a class="code" href="classDOMNode.html">DOMNode</a> &) {}</div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div> <div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="comment">// Unimplemented constructors and operators</span></div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment"></span> <a class="code" href="classDOMNode.html">DOMNode</a> & operator = (<span class="keyword">const</span> <a class="code" href="classDOMNode.html">DOMNode</a> &);</div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="comment">// All constructors are hidden, just the destructor is available</span></div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classDOMNode.html#a81eb183414e4fbfe72b31390215ec59e"> 169</a></span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html#a81eb183414e4fbfe72b31390215ec59e">~DOMNode</a>() {};</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="comment">// Class Types</span></div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5"> 182</a></span> <span class="comment"></span> <span class="keyword">enum</span> <a class="code" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5">NodeType</a> {</div> <div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5a5e4700e1eda58eb7d08dd126c8bfafbe"> 183</a></span>  ELEMENT_NODE = 1,</div> <div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5ab29561d53036246e8117b250c864f1a9"> 184</a></span>  ATTRIBUTE_NODE = 2,</div> <div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5aaf04f62271b6e744be27468d924f61b4"> 185</a></span>  TEXT_NODE = 3,</div> <div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5a4679a29a636f6206bb7fd9e831d05e4d"> 186</a></span>  CDATA_SECTION_NODE = 4,</div> <div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5ac287e4413c4fe892654b80345a96e427"> 187</a></span>  ENTITY_REFERENCE_NODE = 5,</div> <div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5af8da261bca426f484769218bd5a40a1c"> 188</a></span>  ENTITY_NODE = 6,</div> <div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5aa0b524c41d23469e3a8d19131d94240b"> 189</a></span>  PROCESSING_INSTRUCTION_NODE = 7,</div> <div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5a253a1b3651ae01131dd88995d03c54e1"> 190</a></span>  COMMENT_NODE = 8,</div> <div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5aeb01b6e307edacb6cac1583f467da062"> 191</a></span>  DOCUMENT_NODE = 9,</div> <div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5a4cd2263028979f3fe7e9b40fd2406e4c"> 192</a></span>  DOCUMENT_TYPE_NODE = 10,</div> <div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5a775f75ac4ba9124a4d33a33d3da74779"> 193</a></span>  DOCUMENT_FRAGMENT_NODE = 11,</div> <div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5adf32a03e60aeffc7d6b767633bc59819"> 194</a></span>  NOTATION_NODE = 12</div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  };</div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div> <div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classDOMNode.html#a8b9b0c9655699ecde9ae39615cb30b12"> 215</a></span>  <span class="keyword">enum</span> <a class="code" href="classDOMNode.html#a8b9b0c9655699ecde9ae39615cb30b12">DocumentPosition</a> {</div> <div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="classDOMNode.html#a8b9b0c9655699ecde9ae39615cb30b12a424b946f5c383a4d1cf998e331039b3d"> 216</a></span>  DOCUMENT_POSITION_DISCONNECTED = 0x01,</div> <div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classDOMNode.html#a8b9b0c9655699ecde9ae39615cb30b12ac13783dc880795b7ac27d540a07329c9"> 217</a></span>  DOCUMENT_POSITION_PRECEDING = 0x02,</div> <div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="classDOMNode.html#a8b9b0c9655699ecde9ae39615cb30b12a61b8d44acab833df378529ebae9f8af5"> 218</a></span>  DOCUMENT_POSITION_FOLLOWING = 0x04,</div> <div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="classDOMNode.html#a8b9b0c9655699ecde9ae39615cb30b12a61a029637e5d2506bcc537fff813d18f"> 219</a></span>  DOCUMENT_POSITION_CONTAINS = 0x08,</div> <div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="classDOMNode.html#a8b9b0c9655699ecde9ae39615cb30b12aaeaed5fbf968bc4c79ae6c02e254f8a5"> 220</a></span>  DOCUMENT_POSITION_CONTAINED_BY = 0x10,</div> <div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="classDOMNode.html#a8b9b0c9655699ecde9ae39615cb30b12ad05fb328a1eb1d0a47d3caaa0ab209b9"> 221</a></span>  DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20</div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  };</div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="comment">// Virtual DOMNode interface</span></div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment"></span> <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="comment">// Getter methods</span></div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</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> * getNodeName() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * getNodeValue() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keyword">virtual</span> NodeType getNodeType() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> *getParentNode() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNodeList.html">DOMNodeList</a> *getChildNodes() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> *getFirstChild() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> *getLastChild() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span> </div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> *getPreviousSibling() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span> </div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> *getNextSibling() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</span> </div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNamedNodeMap.html">DOMNamedNodeMap</a> *getAttributes() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div> <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMDocument.html">DOMDocument</a> *getOwnerDocument() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</span> </div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="comment">// Node methods</span></div> <div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> * cloneNode(<span class="keywordtype">bool</span> deep) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00356"></a><span class="lineno"> 356</span> </div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> *insertBefore(<a class="code" href="classDOMNode.html">DOMNode</a> *newChild,</div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <a class="code" href="classDOMNode.html">DOMNode</a> *refChild) = 0;</div> <div class="line"><a name="l00386"></a><span class="lineno"> 386</span> </div> <div class="line"><a name="l00387"></a><span class="lineno"> 387</span> </div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> *replaceChild(<a class="code" href="classDOMNode.html">DOMNode</a> *newChild,</div> <div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <a class="code" href="classDOMNode.html">DOMNode</a> *oldChild) = 0;</div> <div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> *removeChild(<a class="code" href="classDOMNode.html">DOMNode</a> *oldChild) = 0;</div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span> </div> <div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  <span class="keyword">virtual</span> <a class="code" href="classDOMNode.html">DOMNode</a> *appendChild(<a class="code" href="classDOMNode.html">DOMNode</a> *newChild) = 0;</div> <div class="line"><a name="l00448"></a><span class="lineno"> 448</span> </div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="comment">// Query methods</span></div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasChildNodes() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span> </div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="comment">// Setter methods</span></div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNodeValue(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *nodeValue) = 0;</div> <div class="line"><a name="l00482"></a><span class="lineno"> 482</span> </div> <div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> normalize() = 0;</div> <div class="line"><a name="l00506"></a><span class="lineno"> 506</span> </div> <div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isSupported(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *feature,</div> <div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *version) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00524"></a><span class="lineno"> 524</span> </div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * getNamespaceURI() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span> </div> <div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * getPrefix() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00549"></a><span class="lineno"> 549</span> </div> <div class="line"><a name="l00559"></a><span class="lineno"> 559</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * getLocalName() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00560"></a><span class="lineno"> 560</span> </div> <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setPrefix(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * prefix) = 0;</div> <div class="line"><a name="l00595"></a><span class="lineno"> 595</span> </div> <div class="line"><a name="l00602"></a><span class="lineno"> 602</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasAttributes() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00604"></a><span class="lineno"> 604</span> </div> <div class="line"><a name="l00622"></a><span class="lineno"> 622</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isSameNode(<span class="keyword">const</span> <a class="code" href="classDOMNode.html">DOMNode</a>* other) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00623"></a><span class="lineno"> 623</span> </div> <div class="line"><a name="l00664"></a><span class="lineno"> 664</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isEqualNode(<span class="keyword">const</span> <a class="code" href="classDOMNode.html">DOMNode</a>* arg) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00665"></a><span class="lineno"> 665</span> </div> <div class="line"><a name="l00666"></a><span class="lineno"> 666</span> </div> <div class="line"><a name="l00692"></a><span class="lineno"> 692</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span>* setUserData(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* key,</div> <div class="line"><a name="l00693"></a><span class="lineno"> 693</span>  <span class="keywordtype">void</span>* data,</div> <div class="line"><a name="l00694"></a><span class="lineno"> 694</span>  <a class="code" href="classDOMUserDataHandler.html">DOMUserDataHandler</a>* handler) = 0;</div> <div class="line"><a name="l00695"></a><span class="lineno"> 695</span> </div> <div class="line"><a name="l00707"></a><span class="lineno"> 707</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span>* getUserData(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* key) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00708"></a><span class="lineno"> 708</span> </div> <div class="line"><a name="l00709"></a><span class="lineno"> 709</span> </div> <div class="line"><a name="l00726"></a><span class="lineno"> 726</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getBaseURI() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00727"></a><span class="lineno"> 727</span> </div> <div class="line"><a name="l00738"></a><span class="lineno"> 738</span>  <span class="keyword">virtual</span> <span class="keywordtype">short</span> compareDocumentPosition(<span class="keyword">const</span> <a class="code" href="classDOMNode.html">DOMNode</a>* other) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00739"></a><span class="lineno"> 739</span> </div> <div class="line"><a name="l00781"></a><span class="lineno"> 781</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getTextContent() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00782"></a><span class="lineno"> 782</span> </div> <div class="line"><a name="l00794"></a><span class="lineno"> 794</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTextContent(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* textContent) = 0;</div> <div class="line"><a name="l00795"></a><span class="lineno"> 795</span> </div> <div class="line"><a name="l00807"></a><span class="lineno"> 807</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* lookupPrefix(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* namespaceURI) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00808"></a><span class="lineno"> 808</span> </div> <div class="line"><a name="l00818"></a><span class="lineno"> 818</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isDefaultNamespace(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* namespaceURI) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00819"></a><span class="lineno"> 819</span> </div> <div class="line"><a name="l00831"></a><span class="lineno"> 831</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* lookupNamespaceURI(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* prefix) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00832"></a><span class="lineno"> 832</span> </div> <div class="line"><a name="l00848"></a><span class="lineno"> 848</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span>* getFeature(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* feature, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* version) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00850"></a><span class="lineno"> 850</span> </div> <div class="line"><a name="l00851"></a><span class="lineno"> 851</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00852"></a><span class="lineno"> 852</span>  <span class="comment">// Non-standard Extension</span></div> <div class="line"><a name="l00853"></a><span class="lineno"> 853</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00869"></a><span class="lineno"> 869</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;</div> <div class="line"><a name="l00871"></a><span class="lineno"> 871</span> <span class="preprocessor">#if defined(XML_DOMREFCOUNT_EXPERIMENTAL)</span></div> <div class="line"><a name="l00872"></a><span class="lineno"> 872</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00873"></a><span class="lineno"> 873</span>  <span class="comment">// Non-standard Extension</span></div> <div class="line"><a name="l00874"></a><span class="lineno"> 874</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00884"></a><span class="lineno"> 884</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> decRefCount() {}</div> <div class="line"><a name="l00886"></a><span class="lineno"> 886</span> </div> <div class="line"><a name="l00887"></a><span class="lineno"> 887</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00888"></a><span class="lineno"> 888</span>  <span class="comment">// Non-standard Extension</span></div> <div class="line"><a name="l00889"></a><span class="lineno"> 889</span>  <span class="comment">// -----------------------------------------------------------------------</span></div> <div class="line"><a name="l00896"></a><span class="lineno"> 896</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> incRefCount() {}</div> <div class="line"><a name="l00898"></a><span class="lineno"> 898</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00899"></a><span class="lineno"> 899</span> };</div> <div class="line"><a name="l00900"></a><span class="lineno"> 900</span> </div> <div class="line"><a name="l00901"></a><span class="lineno"> 901</span> <span class="comment">/***</span></div> <div class="line"><a name="l00902"></a><span class="lineno"> 902</span> <span class="comment"> * Utilities macros for getting memory manager within DOM</span></div> <div class="line"><a name="l00903"></a><span class="lineno"> 903</span> <span class="comment">***/</span></div> <div class="line"><a name="l00904"></a><span class="lineno"><a class="line" href="DOMNode_8hpp.html#a40e9d272746e382ec4a37429913f8ea5"> 904</a></span> <span class="preprocessor">#define GET_OWNER_DOCUMENT(ptr) \</span></div> <div class="line"><a name="l00905"></a><span class="lineno"> 905</span> <span class="preprocessor"> ((DOMDocumentImpl*)(ptr->getOwnerDocument()))</span></div> <div class="line"><a name="l00906"></a><span class="lineno"> 906</span> </div> <div class="line"><a name="l00907"></a><span class="lineno"><a class="line" href="DOMNode_8hpp.html#a151af8d7b4791f7e848f9f3713b8efbd"> 907</a></span> <span class="preprocessor">#define GET_DIRECT_MM(ptr) \</span></div> <div class="line"><a name="l00908"></a><span class="lineno"> 908</span> <span class="preprocessor"> (ptr ? ((DOMDocumentImpl*)ptr)->getMemoryManager() : XMLPlatformUtils::fgMemoryManager)</span></div> <div class="line"><a name="l00909"></a><span class="lineno"> 909</span> </div> <div class="line"><a name="l00910"></a><span class="lineno"><a class="line" href="DOMNode_8hpp.html#a72f6f4902be5326c33675dcd94ec2c6a"> 910</a></span> <span class="preprocessor">#define GET_INDIRECT_MM(ptr) \</span></div> <div class="line"><a name="l00911"></a><span class="lineno"> 911</span> <span class="preprocessor"> (!ptr ? XMLPlatformUtils::fgMemoryManager : \</span></div> <div class="line"><a name="l00912"></a><span class="lineno"> 912</span> <span class="preprocessor"> GET_OWNER_DOCUMENT(ptr) ? GET_OWNER_DOCUMENT(ptr)->getMemoryManager() : \</span></div> <div class="line"><a name="l00913"></a><span class="lineno"> 913</span> <span class="preprocessor"> XMLPlatformUtils::fgMemoryManager)</span></div> <div class="line"><a name="l00914"></a><span class="lineno"> 914</span> </div> <div class="line"><a name="l00915"></a><span class="lineno"> 915</span> <span class="comment">/***</span></div> <div class="line"><a name="l00916"></a><span class="lineno"> 916</span> <span class="comment"> * For DOMNode and its derivatives</span></div> <div class="line"><a name="l00917"></a><span class="lineno"> 917</span> <span class="comment">***/</span></div> <div class="line"><a name="l00918"></a><span class="lineno"><a class="line" href="DOMNode_8hpp.html#a5b78c1ce54a287dddf516818ddb277c3"> 918</a></span> <span class="preprocessor">#define GetDOMNodeMemoryManager GET_INDIRECT_MM(this)</span></div> <div class="line"><a name="l00919"></a><span class="lineno"> 919</span> </div> <div class="line"><a name="l00920"></a><span class="lineno"> 920</span> <a class="code" href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div> <div class="line"><a name="l00921"></a><span class="lineno"> 921</span> </div> <div class="line"><a name="l00922"></a><span class="lineno"> 922</span> <span class="preprocessor">#endif</span></div> <div class="ttc" id="classDOMNode_html_a81eb183414e4fbfe72b31390215ec59e"><div class="ttname"><a href="classDOMNode.html#a81eb183414e4fbfe72b31390215ec59e">DOMNode::~DOMNode</a></div><div class="ttdeci">virtual ~DOMNode()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> DOMNode.hpp:169</div></div> <div class="ttc" id="classDOMUserDataHandler_html"><div class="ttname"><a href="classDOMUserDataHandler.html">DOMUserDataHandler</a></div><div class="ttdoc">When associating an object to a key on a node using setUserData the application can provide a handler...</div><div class="ttdef"><b>Definition:</b> DOMUserDataHandler.hpp:40</div></div> <div class="ttc" id="classDOMNodeList_html"><div class="ttname"><a href="classDOMNodeList.html">DOMNodeList</a></div><div class="ttdoc">The DOMNodeList interface provides the abstraction of an ordered collection of nodes. </div><div class="ttdef"><b>Definition:</b> DOMNodeList.hpp:45</div></div> <div class="ttc" id="classDOMNamedNodeMap_html"><div class="ttname"><a href="classDOMNamedNodeMap.html">DOMNamedNodeMap</a></div><div class="ttdoc">DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...</div><div class="ttdef"><b>Definition:</b> DOMNamedNodeMap.hpp:45</div></div> <div class="ttc" id="XercesDefs_8hpp_html"><div class="ttname"><a href="XercesDefs_8hpp.html">XercesDefs.hpp</a></div></div> <div class="ttc" id="classDOMDocument_html"><div class="ttname"><a href="classDOMDocument.html">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="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="classDOMNode_html_a8b9b0c9655699ecde9ae39615cb30b12"><div class="ttname"><a href="classDOMNode.html#a8b9b0c9655699ecde9ae39615cb30b12">DOMNode::DocumentPosition</a></div><div class="ttdeci">DocumentPosition</div><div class="ttdoc">DocumentPosition: </div><div class="ttdef"><b>Definition:</b> DOMNode.hpp:215</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="classDOMNode_html_a12a6ce394f39e1c0fff128cfcf6d6fea"><div class="ttname"><a href="classDOMNode.html#a12a6ce394f39e1c0fff128cfcf6d6fea">DOMNode::DOMNode</a></div><div class="ttdeci">DOMNode(const DOMNode &)</div><div class="ttdef"><b>Definition:</b> DOMNode.hpp:147</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="classDOMNode_html_a85f63599baf0d6c8bac93da940c33306"><div class="ttname"><a href="classDOMNode.html#a85f63599baf0d6c8bac93da940c33306">DOMNode::DOMNode</a></div><div class="ttdeci">DOMNode()</div><div class="ttdef"><b>Definition:</b> DOMNode.hpp:146</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="classDOMNode_html_a6237ede96be83ff729807688e4f638c5"><div class="ttname"><a href="classDOMNode.html#a6237ede96be83ff729807688e4f638c5">DOMNode::NodeType</a></div><div class="ttdeci">NodeType</div><div class="ttdoc">NodeType. </div><div class="ttdef"><b>Definition:</b> DOMNode.hpp:182</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>
|