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.

367 lines
58 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>Xerces-C++: XMLAttr.hpp Source File</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">Xerces-C++
  21. &#160;<span id="projectnumber">3.1.2</span>
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.9.1 -->
  30. <div id="navrow1" class="tabs">
  31. <ul class="tablist">
  32. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  33. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  34. <li><a href="annotated.html"><span>Classes</span></a></li>
  35. <li class="current"><a href="files.html"><span>Files</span></a></li>
  36. </ul>
  37. </div>
  38. <div id="navrow2" class="tabs2">
  39. <ul class="tablist">
  40. <li><a href="files.html"><span>File&#160;List</span></a></li>
  41. <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  42. </ul>
  43. </div>
  44. <div id="nav-path" class="navpath">
  45. <ul>
  46. <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_41aef2f7a87f1ae87976cc1bb7e908ff.html">framework</a></li> </ul>
  47. </div>
  48. </div><!-- top -->
  49. <div class="header">
  50. <div class="headertitle">
  51. <div class="title">XMLAttr.hpp</div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <a href="XMLAttr_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>
  55. <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>
  56. <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>
  57. <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>
  58. <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>
  59. <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>
  60. <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>
  61. <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * </span></div>
  62. <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>
  63. <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * </span></div>
  64. <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>
  65. <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>
  66. <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>
  67. <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>
  68. <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div>
  69. <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
  70. <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
  71. <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/*</span></div>
  72. <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * $Id: XMLAttr.hpp 932887 2010-04-11 13:04:59Z borisk $</span></div>
  73. <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> */</span></div>
  74. <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
  75. <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_XMLATTR_HPP)</span></div>
  76. <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XMLATTR_HPP</span></div>
  77. <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
  78. <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</span></div>
  79. <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="QName_8hpp.html">xercesc/util/QName.hpp</a>&gt;</span></div>
  80. <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="XMLAttDef_8hpp.html">xercesc/framework/XMLAttDef.hpp</a>&gt;</span></div>
  81. <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;xercesc/validators/datatype/DatatypeValidator.hpp&gt;</span></div>
  82. <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
  83. <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<a class="code" href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div>
  84. <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
  85. <div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classXMLAttr.html"> 53</a></span>&#160;<span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#a13df5a01e63e51f62a1467b588b59054">XMLPARSER_EXPORT</a> <a class="code" href="classXMLAttr.html">XMLAttr</a> : <span class="keyword">public</span> <a class="code" href="classXMemory.html">XMemory</a></div>
  86. <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;{</div>
  87. <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="keyword">public</span>:</div>
  88. <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  89. <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="comment">// Constructors and Destructor</span></div>
  90. <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  91. <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="comment"></span></div>
  92. <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <a class="code" href="classXMLAttr.html">XMLAttr</a>(<a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  93. <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
  94. <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="classXMLAttr.html">XMLAttr</a></div>
  95. <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; (</div>
  96. <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId</div>
  97. <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrName</div>
  98. <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrPrefix</div>
  99. <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrValue</div>
  100. <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a></div>
  101. <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">bool</span> specified = <span class="keyword">true</span></div>
  102. <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  103. <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; , DatatypeValidator * datatypeValidator = 0</div>
  104. <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema = <span class="keyword">false</span></div>
  105. <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; );</div>
  106. <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div>
  107. <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="classXMLAttr.html">XMLAttr</a></div>
  108. <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; (</div>
  109. <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId</div>
  110. <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> rawName</div>
  111. <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrValue</div>
  112. <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a></div>
  113. <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">bool</span> specified = <span class="keyword">true</span></div>
  114. <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  115. <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; , DatatypeValidator * datatypeValidator = 0</div>
  116. <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema = <span class="keyword">false</span></div>
  117. <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; );</div>
  118. <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div>
  119. <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;</div>
  120. <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; ~<a class="code" href="classXMLAttr.html">XMLAttr</a>();</div>
  121. <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div>
  122. <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div>
  123. <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  124. <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="comment">// Getter methods</span></div>
  125. <div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  126. <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div>
  127. <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div>
  128. <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="classQName.html">QName</a>* getAttName() <span class="keyword">const</span>;</div>
  129. <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;</div>
  130. <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getName() <span class="keyword">const</span>;</div>
  131. <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;</div>
  132. <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getPrefix() <span class="keyword">const</span>;</div>
  133. <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div>
  134. <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getQName() <span class="keyword">const</span>;</div>
  135. <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div>
  136. <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordtype">bool</span> getSpecified() <span class="keyword">const</span>;</div>
  137. <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div>
  138. <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> getType() <span class="keyword">const</span>;</div>
  139. <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;</div>
  140. <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* getValue() <span class="keyword">const</span>;</div>
  141. <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div>
  142. <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getURIId() <span class="keyword">const</span>;</div>
  143. <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div>
  144. <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;</div>
  145. <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;</div>
  146. <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  147. <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="comment">// Setter methods</span></div>
  148. <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  149. <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;</div>
  150. <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div>
  151. <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keywordtype">void</span> set</div>
  152. <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; (</div>
  153. <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId</div>
  154. <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrName</div>
  155. <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrPrefix</div>
  156. <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrValue</div>
  157. <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a></div>
  158. <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; , DatatypeValidator * datatypeValidator = 0</div>
  159. <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema = <span class="keyword">false</span></div>
  160. <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; );</div>
  161. <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;</div>
  162. <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keywordtype">void</span> set</div>
  163. <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; (</div>
  164. <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId</div>
  165. <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrRawName</div>
  166. <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrValue</div>
  167. <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type = <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a></div>
  168. <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; , DatatypeValidator * datatypeValidator = 0</div>
  169. <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">bool</span> isSchema = <span class="keyword">false</span></div>
  170. <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; );</div>
  171. <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;</div>
  172. <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <span class="keywordtype">void</span> setName</div>
  173. <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; (</div>
  174. <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId</div>
  175. <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrName</div>
  176. <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrPrefix</div>
  177. <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; );</div>
  178. <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;</div>
  179. <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; <span class="keywordtype">void</span> setSpecified(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue);</div>
  180. <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;</div>
  181. <div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <span class="keywordtype">void</span> setType(<span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> newType);</div>
  182. <div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160;</div>
  183. <div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="keywordtype">void</span> setValue(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> newValue);</div>
  184. <div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160;</div>
  185. <div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; <span class="keywordtype">void</span> setURIId(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId);</div>
  186. <div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160;</div>
  187. <div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160;</div>
  188. <div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160;</div>
  189. <div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;</div>
  190. <div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160;<span class="keyword">private</span> :</div>
  191. <div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  192. <div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; <span class="comment">// Unimplemented constructors and operators</span></div>
  193. <div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  194. <div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; <a class="code" href="classXMLAttr.html">XMLAttr</a>(<span class="keyword">const</span> <a class="code" href="classXMLAttr.html">XMLAttr</a>&amp;);</div>
  195. <div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <a class="code" href="classXMLAttr.html">XMLAttr</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classXMLAttr.html">XMLAttr</a>&amp;);</div>
  196. <div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160;</div>
  197. <div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160;</div>
  198. <div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  199. <div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; <span class="comment">// Private, helper methods</span></div>
  200. <div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  201. <div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; <span class="keywordtype">void</span> cleanUp();</div>
  202. <div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160;</div>
  203. <div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160;</div>
  204. <div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  205. <div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; <span class="comment">// Private instance variables</span></div>
  206. <div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; <span class="comment">//</span></div>
  207. <div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; <span class="comment">// fAttName</span></div>
  208. <div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; <span class="comment">// The Attribute Name;</span></div>
  209. <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; <span class="comment">//</span></div>
  210. <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; <span class="comment">// fSpecified</span></div>
  211. <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <span class="comment">// True if this attribute appeared in the element; else, false if</span></div>
  212. <div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; <span class="comment">// it was defaulted from an AttDef.</span></div>
  213. <div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <span class="comment">//</span></div>
  214. <div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <span class="comment">// fType</span></div>
  215. <div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <span class="comment">// The attribute type enum value for this attribute. Indicates what</span></div>
  216. <div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; <span class="comment">// type of attribute it was.</span></div>
  217. <div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; <span class="comment">//</span></div>
  218. <div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; <span class="comment">// fValue</span></div>
  219. <div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; <span class="comment">// fValueBufSz</span></div>
  220. <div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; <span class="comment">// The attribute value that was given in the attribute instance, and</span></div>
  221. <div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; <span class="comment">// its current buffer size (minus one, where the null is.)</span></div>
  222. <div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; <span class="comment">//</span></div>
  223. <div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; <span class="comment">// fMemoryManager</span></div>
  224. <div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; <span class="comment">// The memory manager used for dynamic memory allocation/deallocation</span></div>
  225. <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; <span class="comment">// -----------------------------------------------------------------------</span></div>
  226. <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <span class="keywordtype">bool</span> fSpecified;</div>
  227. <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> fType;</div>
  228. <div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> fValueBufSz;</div>
  229. <div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* fValue;</div>
  230. <div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <a class="code" href="classQName.html">QName</a>* fAttName;</div>
  231. <div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; <a class="code" href="classMemoryManager.html">MemoryManager</a>* fMemoryManager; </div>
  232. <div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160;};</div>
  233. <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160;</div>
  234. <div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  235. <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160;<span class="comment">// XMLAttr: Constructors and Destructor</span></div>
  236. <div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  237. <div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="classXMLAttr.html#a90f5c37effbb18503302ed88048eedcd"> 411</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classXMLAttr.html#a90f5c37effbb18503302ed88048eedcd">XMLAttr::~XMLAttr</a>()</div>
  238. <div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160;{</div>
  239. <div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; cleanUp();</div>
  240. <div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160;}</div>
  241. <div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160;</div>
  242. <div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160;</div>
  243. <div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  244. <div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160;<span class="comment">// XMLAttr: Getter methods</span></div>
  245. <div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  246. <div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="classXMLAttr.html#ad1f6f75fb9ba0f7ea90145a839cae1c8"> 420</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classQName.html">QName</a>* <a class="code" href="classXMLAttr.html#ad1f6f75fb9ba0f7ea90145a839cae1c8">XMLAttr::getAttName</a>()<span class="keyword"> const</span></div>
  247. <div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160;<span class="keyword"></span>{</div>
  248. <div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160; <span class="keywordflow">return</span> fAttName;</div>
  249. <div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160;}</div>
  250. <div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160;</div>
  251. <div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="classXMLAttr.html#a18927ce8e8ea49d622fd20016cec01ec"> 425</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLAttr.html#a18927ce8e8ea49d622fd20016cec01ec">XMLAttr::getName</a>()<span class="keyword"> const</span></div>
  252. <div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160;<span class="keyword"></span>{</div>
  253. <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; <span class="keywordflow">return</span> fAttName-&gt;<a class="code" href="classQName.html#aa22c091478cc3ec4fa64c9d448fdeb0d">getLocalPart</a>();</div>
  254. <div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160;}</div>
  255. <div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160;</div>
  256. <div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="classXMLAttr.html#aaacdcbc48f8db0149eed17d3f3607107"> 430</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLAttr.html#aaacdcbc48f8db0149eed17d3f3607107">XMLAttr::getPrefix</a>()<span class="keyword"> const</span></div>
  257. <div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160;<span class="keyword"></span>{</div>
  258. <div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; <span class="keywordflow">return</span> fAttName-&gt;<a class="code" href="classQName.html#a5f5c1b806bb0eb966d47324b30a3199d">getPrefix</a>();</div>
  259. <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160;}</div>
  260. <div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160;</div>
  261. <div class="line"><a name="l00435"></a><span class="lineno"><a class="line" href="classXMLAttr.html#ae7cffa5ffbef189b265e072a95e4d9e2"> 435</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLAttr.html#ae7cffa5ffbef189b265e072a95e4d9e2">XMLAttr::getSpecified</a>()<span class="keyword"> const</span></div>
  262. <div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160;<span class="keyword"></span>{</div>
  263. <div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; <span class="keywordflow">return</span> fSpecified;</div>
  264. <div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160;}</div>
  265. <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160;</div>
  266. <div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="classXMLAttr.html#a694b2c0c63c6c7b121721552d9ac34b5"> 440</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> <a class="code" href="classXMLAttr.html#a694b2c0c63c6c7b121721552d9ac34b5">XMLAttr::getType</a>()<span class="keyword"> const</span></div>
  267. <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160;<span class="keyword"></span>{</div>
  268. <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160; <span class="keywordflow">return</span> fType;</div>
  269. <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160;}</div>
  270. <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160;</div>
  271. <div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="classXMLAttr.html#a5ea30a1754f474cf1bf779043c2b4006"> 445</a></span>&#160;<span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLAttr.html#a5ea30a1754f474cf1bf779043c2b4006">XMLAttr::getValue</a>()<span class="keyword"> const</span></div>
  272. <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160;<span class="keyword"></span>{</div>
  273. <div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160; <span class="keywordflow">return</span> fValue;</div>
  274. <div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160;}</div>
  275. <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160;</div>
  276. <div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="classXMLAttr.html#ac84cf41c14530df46e67dbd50bfee73f"> 450</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classXMLAttr.html#ac84cf41c14530df46e67dbd50bfee73f">XMLAttr::getURIId</a>()<span class="keyword"> const</span></div>
  277. <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160;<span class="keyword"></span>{</div>
  278. <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; <span class="keywordflow">return</span> fAttName-&gt;<a class="code" href="classQName.html#ae8a5c241b363084db7ca67c1982df060">getURI</a>();</div>
  279. <div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160;}</div>
  280. <div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160;</div>
  281. <div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  282. <div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160;<span class="comment">// XMLAttr: Setter methods</span></div>
  283. <div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  284. <div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="classXMLAttr.html#a6a98e671429336dc8977c5f9d006015f"> 458</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#a6a98e671429336dc8977c5f9d006015f">XMLAttr::set</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId</div>
  285. <div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrName</div>
  286. <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrPrefix</div>
  287. <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrValue</div>
  288. <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type</div>
  289. <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160; , DatatypeValidator * <span class="comment">/*datatypeValidator */</span></div>
  290. <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">bool</span> <span class="comment">/*isSchema*/</span> )</div>
  291. <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160;{</div>
  292. <div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160; <span class="comment">// Set the name info and the value via their respective calls</span></div>
  293. <div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160; fAttName-&gt;<a class="code" href="classQName.html#a519ac787985e0bcd3b01a26ce02dbeed">setName</a>(attrPrefix, attrName, uriId);</div>
  294. <div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160; <a class="code" href="classXMLAttr.html#ac4623468c53c1776545371558c7c7667">setValue</a>(attrValue);</div>
  295. <div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160;</div>
  296. <div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160; <span class="comment">// And store the type</span></div>
  297. <div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160; fType = type;</div>
  298. <div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160;}</div>
  299. <div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160;</div>
  300. <div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="classXMLAttr.html#aba7a02bce97156df3d98a18e3918ea3c"> 474</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#a6a98e671429336dc8977c5f9d006015f">XMLAttr::set</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId</div>
  301. <div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrRawName</div>
  302. <div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> attrValue</div>
  303. <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; , <span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> type</div>
  304. <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; , DatatypeValidator * <span class="comment">/*datatypeValidator */</span></div>
  305. <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">bool</span> <span class="comment">/*isSchema*/</span> )</div>
  306. <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160;{</div>
  307. <div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160; <span class="comment">// Set the name info and the value via their respective calls</span></div>
  308. <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160; fAttName-&gt;<a class="code" href="classQName.html#a519ac787985e0bcd3b01a26ce02dbeed">setName</a>(attrRawName, uriId);</div>
  309. <div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; <a class="code" href="classXMLAttr.html#ac4623468c53c1776545371558c7c7667">setValue</a>(attrValue);</div>
  310. <div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160;</div>
  311. <div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160; <span class="comment">// And store the type</span></div>
  312. <div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160; fType = type;</div>
  313. <div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160;}</div>
  314. <div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160;</div>
  315. <div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="classXMLAttr.html#a2e2723f34fb7cf393ccdf9f1d73b93d4"> 489</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#a2e2723f34fb7cf393ccdf9f1d73b93d4">XMLAttr::setType</a>(<span class="keyword">const</span> <a class="code" href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a> newValue)</div>
  316. <div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160;{</div>
  317. <div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160; fType = newValue;</div>
  318. <div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160;}</div>
  319. <div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160;</div>
  320. <div class="line"><a name="l00494"></a><span class="lineno"><a class="line" href="classXMLAttr.html#a8a992e66559d9373b32cb57d3b79226a"> 494</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLAttr.html#a8a992e66559d9373b32cb57d3b79226a">XMLAttr::setSpecified</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> newValue)</div>
  321. <div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;{</div>
  322. <div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160; fSpecified = newValue;</div>
  323. <div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160;}</div>
  324. <div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160;</div>
  325. <div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160;<a class="code" href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div>
  326. <div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160;</div>
  327. <div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160;<span class="preprocessor">#endif</span></div>
  328. <div class="ttc" id="classQName_html_a519ac787985e0bcd3b01a26ce02dbeed"><div class="ttname"><a href="classQName.html#a519ac787985e0bcd3b01a26ce02dbeed">QName::setName</a></div><div class="ttdeci">void setName(const XMLCh *const prefix, const XMLCh *const localPart, const unsigned int uriId)</div></div>
  329. <div class="ttc" id="classQName_html_a5f5c1b806bb0eb966d47324b30a3199d"><div class="ttname"><a href="classQName.html#a5f5c1b806bb0eb966d47324b30a3199d">QName::getPrefix</a></div><div class="ttdeci">const XMLCh * getPrefix() const </div><div class="ttdef"><b>Definition:</b> QName.hpp:167</div></div>
  330. <div class="ttc" id="classXMLAttr_html_a2e2723f34fb7cf393ccdf9f1d73b93d4"><div class="ttname"><a href="classXMLAttr.html#a2e2723f34fb7cf393ccdf9f1d73b93d4">XMLAttr::setType</a></div><div class="ttdeci">void setType(const XMLAttDef::AttTypes newType)</div><div class="ttdoc">This method will update the attribute type of the object. </div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:489</div></div>
  331. <div class="ttc" id="classXMemory_html"><div class="ttname"><a href="classXMemory.html">XMemory</a></div><div class="ttdoc">This class makes it possible to override the C++ memory management by adding new/delete operators to ...</div><div class="ttdef"><b>Definition:</b> XMemory.hpp:40</div></div>
  332. <div class="ttc" id="classXMLPlatformUtils_html_a97eff0d9fff3567bea3acd3ca4d95252"><div class="ttname"><a href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div><div class="ttdeci">static MemoryManager * fgMemoryManager</div><div class="ttdoc">The configurable memory manager. </div><div class="ttdef"><b>Definition:</b> PlatformUtils.hpp:121</div></div>
  333. <div class="ttc" id="classXMLAttr_html_a694b2c0c63c6c7b121721552d9ac34b5"><div class="ttname"><a href="classXMLAttr.html#a694b2c0c63c6c7b121721552d9ac34b5">XMLAttr::getType</a></div><div class="ttdeci">XMLAttDef::AttTypes getType() const </div><div class="ttdoc">This method will get the type of the attribute. </div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:440</div></div>
  334. <div class="ttc" id="classQName_html_aa22c091478cc3ec4fa64c9d448fdeb0d"><div class="ttname"><a href="classQName.html#aa22c091478cc3ec4fa64c9d448fdeb0d">QName::getLocalPart</a></div><div class="ttdeci">const XMLCh * getLocalPart() const </div><div class="ttdef"><b>Definition:</b> QName.hpp:177</div></div>
  335. <div class="ttc" id="classXMLAttr_html_a18927ce8e8ea49d622fd20016cec01ec"><div class="ttname"><a href="classXMLAttr.html#a18927ce8e8ea49d622fd20016cec01ec">XMLAttr::getName</a></div><div class="ttdeci">const XMLCh * getName() const </div><div class="ttdoc">This method gets a const pointer to the name of the attribute. </div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:425</div></div>
  336. <div class="ttc" id="classQName_html_ae8a5c241b363084db7ca67c1982df060"><div class="ttname"><a href="classQName.html#ae8a5c241b363084db7ca67c1982df060">QName::getURI</a></div><div class="ttdeci">unsigned int getURI() const </div><div class="ttdef"><b>Definition:</b> QName.hpp:187</div></div>
  337. <div class="ttc" id="XercesDefs_8hpp_html_a13df5a01e63e51f62a1467b588b59054"><div class="ttname"><a href="XercesDefs_8hpp.html#a13df5a01e63e51f62a1467b588b59054">XMLPARSER_EXPORT</a></div><div class="ttdeci">#define XMLPARSER_EXPORT</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:163</div></div>
  338. <div class="ttc" id="classXMLAttr_html"><div class="ttname"><a href="classXMLAttr.html">XMLAttr</a></div><div class="ttdoc">This class defines the information about an attribute that will come out of the scanner during parsin...</div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:53</div></div>
  339. <div class="ttc" id="classXMLAttDef_html_ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d"><div class="ttname"><a href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255ae77a76f18e1eea5d67911599b13ce76d">XMLAttDef::CData</a></div><div class="ttdef"><b>Definition:</b> XMLAttDef.hpp:73</div></div>
  340. <div class="ttc" id="classXMLAttr_html_a6a98e671429336dc8977c5f9d006015f"><div class="ttname"><a href="classXMLAttr.html#a6a98e671429336dc8977c5f9d006015f">XMLAttr::set</a></div><div class="ttdeci">void set(const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix, const XMLCh *const attrValue, const XMLAttDef::AttTypes type=XMLAttDef::CData, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</div><div class="ttdoc">This method is called to set up a default constructed object after the fact, or to reuse a previously...</div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:458</div></div>
  341. <div class="ttc" id="classXMLAttr_html_ac4623468c53c1776545371558c7c7667"><div class="ttname"><a href="classXMLAttr.html#ac4623468c53c1776545371558c7c7667">XMLAttr::setValue</a></div><div class="ttdeci">void setValue(const XMLCh *const newValue)</div><div class="ttdoc">This method will update the value field of the attribute. </div></div>
  342. <div class="ttc" id="PlatformUtils_8hpp_html"><div class="ttname"><a href="PlatformUtils_8hpp.html">PlatformUtils.hpp</a></div></div>
  343. <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>
  344. <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_ac0f7e36996cd03eb43bcee10321f77cd"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a></div><div class="ttdeci">SIZE_T XMLSize_t</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:86</div></div>
  345. <div class="ttc" id="classQName_html"><div class="ttname"><a href="classQName.html">QName</a></div><div class="ttdef"><b>Definition:</b> QName.hpp:34</div></div>
  346. <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>
  347. <div class="ttc" id="XMLAttDef_8hpp_html"><div class="ttname"><a href="XMLAttDef_8hpp.html">XMLAttDef.hpp</a></div></div>
  348. <div class="ttc" id="classXMLAttDef_html_ad029f037065bfaeb991ab7855de79255"><div class="ttname"><a href="classXMLAttDef.html#ad029f037065bfaeb991ab7855de79255">XMLAttDef::AttTypes</a></div><div class="ttdeci">AttTypes</div><div class="ttdef"><b>Definition:</b> XMLAttDef.hpp:71</div></div>
  349. <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>
  350. <div class="ttc" id="classXMLAttr_html_a8a992e66559d9373b32cb57d3b79226a"><div class="ttname"><a href="classXMLAttr.html#a8a992e66559d9373b32cb57d3b79226a">XMLAttr::setSpecified</a></div><div class="ttdeci">void setSpecified(const bool newValue)</div><div class="ttdoc">This method will update the specified state of the object. </div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:494</div></div>
  351. <div class="ttc" id="classXMLAttr_html_a5ea30a1754f474cf1bf779043c2b4006"><div class="ttname"><a href="classXMLAttr.html#a5ea30a1754f474cf1bf779043c2b4006">XMLAttr::getValue</a></div><div class="ttdeci">const XMLCh * getValue() const </div><div class="ttdoc">This method will get the value of the attribute. </div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:445</div></div>
  352. <div class="ttc" id="classXMLAttr_html_aaacdcbc48f8db0149eed17d3f3607107"><div class="ttname"><a href="classXMLAttr.html#aaacdcbc48f8db0149eed17d3f3607107">XMLAttr::getPrefix</a></div><div class="ttdeci">const XMLCh * getPrefix() const </div><div class="ttdoc">This method will get a const pointer to the prefix string of this attribute. </div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:430</div></div>
  353. <div class="ttc" id="classXMLAttr_html_ac84cf41c14530df46e67dbd50bfee73f"><div class="ttname"><a href="classXMLAttr.html#ac84cf41c14530df46e67dbd50bfee73f">XMLAttr::getURIId</a></div><div class="ttdeci">unsigned int getURIId() const </div><div class="ttdoc">This method will get the id of the URI that this attribute&#39;s prefix mapped to. </div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:450</div></div>
  354. <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>
  355. <div class="ttc" id="QName_8hpp_html"><div class="ttname"><a href="QName_8hpp.html">QName.hpp</a></div></div>
  356. <div class="ttc" id="classXMLAttr_html_ad1f6f75fb9ba0f7ea90145a839cae1c8"><div class="ttname"><a href="classXMLAttr.html#ad1f6f75fb9ba0f7ea90145a839cae1c8">XMLAttr::getAttName</a></div><div class="ttdeci">QName * getAttName() const </div><div class="ttdoc">This method returns the attribute name in a QName format. </div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:420</div></div>
  357. <div class="ttc" id="classXMLAttr_html_ae7cffa5ffbef189b265e072a95e4d9e2"><div class="ttname"><a href="classXMLAttr.html#ae7cffa5ffbef189b265e072a95e4d9e2">XMLAttr::getSpecified</a></div><div class="ttdeci">bool getSpecified() const </div><div class="ttdoc">This method will get the specified flag, which indicates whether the attribute was explicitly specifi...</div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:435</div></div>
  358. <div class="ttc" id="classXMLAttr_html_a90f5c37effbb18503302ed88048eedcd"><div class="ttname"><a href="classXMLAttr.html#a90f5c37effbb18503302ed88048eedcd">XMLAttr::~XMLAttr</a></div><div class="ttdeci">~XMLAttr()</div><div class="ttdef"><b>Definition:</b> XMLAttr.hpp:411</div></div>
  359. </div><!-- fragment --></div><!-- contents -->
  360. <!-- start footer part -->
  361. <hr class="footer"/><address class="footer"><small>
  362. Generated on Wed Mar 18 2015 10:43:37 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  363. <img class="footer" src="doxygen.png" alt="doxygen"/>
  364. </a> 1.8.9.1
  365. </small></address>
  366. </body>
  367. </html>