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.

312 lines
16 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++: DOMLocator Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
  35. <li><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="annotated.html"><span>Class&#160;List</span></a></li>
  41. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  42. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  43. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  44. </ul>
  45. </div>
  46. </div><!-- top -->
  47. <div class="header">
  48. <div class="summary">
  49. <a href="classDOMLocator-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">DOMLocator Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p><a class="el" href="classDOMLocator.html" title="DOMLocator is an interface that describes a location. ">DOMLocator</a> is an interface that describes a location.
  55. <a href="classDOMLocator.html#details">More...</a></p>
  56. <table class="memberdecls">
  57. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  58. Public Member Functions</h2></td></tr>
  59. <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
  60. <tr class="memitem:a1fc9fd28a1c98ab4ec1fdebef56e53d7"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLocator.html#a1fc9fd28a1c98ab4ec1fdebef56e53d7">~DOMLocator</a> ()</td></tr>
  61. <tr class="memdesc:a1fc9fd28a1c98ab4ec1fdebef56e53d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a1fc9fd28a1c98ab4ec1fdebef56e53d7">More...</a><br /></td></tr>
  62. <tr class="separator:a1fc9fd28a1c98ab4ec1fdebef56e53d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  63. <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
  64. <tr class="memitem:a7ec3e31ba773179b2b9f3aa69eb65f4d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#add2d542a6583db767febf57446daa50d">XMLFileLoc</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLocator.html#a7ec3e31ba773179b2b9f3aa69eb65f4d">getLineNumber</a> () const =0</td></tr>
  65. <tr class="memdesc:a7ec3e31ba773179b2b9f3aa69eb65f4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the line number where the error occured, or 0 if there is no line number available. <a href="#a7ec3e31ba773179b2b9f3aa69eb65f4d">More...</a><br /></td></tr>
  66. <tr class="separator:a7ec3e31ba773179b2b9f3aa69eb65f4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  67. <tr class="memitem:ad26dfeff2c836a3b8370f9634be15236"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#add2d542a6583db767febf57446daa50d">XMLFileLoc</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLocator.html#ad26dfeff2c836a3b8370f9634be15236">getColumnNumber</a> () const =0</td></tr>
  68. <tr class="memdesc:ad26dfeff2c836a3b8370f9634be15236"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the column number where the error occured, or 0 if there is no column number available. <a href="#ad26dfeff2c836a3b8370f9634be15236">More...</a><br /></td></tr>
  69. <tr class="separator:ad26dfeff2c836a3b8370f9634be15236"><td class="memSeparator" colspan="2">&#160;</td></tr>
  70. <tr class="memitem:ab711f2bbacc99fdcfe9802466746bff8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLocator.html#ab711f2bbacc99fdcfe9802466746bff8">getByteOffset</a> () const =0</td></tr>
  71. <tr class="memdesc:ab711f2bbacc99fdcfe9802466746bff8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the byte offset into the input source, or ~(XMLFilePos(0)) if there is no byte offset available. <a href="#ab711f2bbacc99fdcfe9802466746bff8">More...</a><br /></td></tr>
  72. <tr class="separator:ab711f2bbacc99fdcfe9802466746bff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. <tr class="memitem:a749a481908f2dd0bef2634b956493dda"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLocator.html#a749a481908f2dd0bef2634b956493dda">getUtf16Offset</a> () const =0</td></tr>
  74. <tr class="memdesc:a749a481908f2dd0bef2634b956493dda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the UTF-16 offset into the input source, or ~(XMLFilePos(0)) if there is no UTF-16 offset available. <a href="#a749a481908f2dd0bef2634b956493dda">More...</a><br /></td></tr>
  75. <tr class="separator:a749a481908f2dd0bef2634b956493dda"><td class="memSeparator" colspan="2">&#160;</td></tr>
  76. <tr class="memitem:ad1b1833084d23e2fb5e03f772ce45dbd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLocator.html#ad1b1833084d23e2fb5e03f772ce45dbd">getRelatedNode</a> () const =0</td></tr>
  77. <tr class="memdesc:ad1b1833084d23e2fb5e03f772ce45dbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> where the error occured, or <code>null</code> if there is no node available. <a href="#ad1b1833084d23e2fb5e03f772ce45dbd">More...</a><br /></td></tr>
  78. <tr class="separator:ad1b1833084d23e2fb5e03f772ce45dbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. <tr class="memitem:a0d805c3f31e1fe0791568c2568a9711f"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLocator.html#a0d805c3f31e1fe0791568c2568a9711f">getURI</a> () const =0</td></tr>
  80. <tr class="memdesc:a0d805c3f31e1fe0791568c2568a9711f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the URI where the error occured, or <code>null</code> if there is no URI available. <a href="#a0d805c3f31e1fe0791568c2568a9711f">More...</a><br /></td></tr>
  81. <tr class="separator:a0d805c3f31e1fe0791568c2568a9711f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. </table><table class="memberdecls">
  83. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  84. Protected Member Functions</h2></td></tr>
  85. <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
  86. <tr class="memitem:a388c4a12e5c0b09520d7c2860219be46"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMLocator.html#a388c4a12e5c0b09520d7c2860219be46">DOMLocator</a> ()</td></tr>
  87. <tr class="separator:a388c4a12e5c0b09520d7c2860219be46"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. </table>
  89. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  90. <div class="textblock"><p><a class="el" href="classDOMLocator.html" title="DOMLocator is an interface that describes a location. ">DOMLocator</a> is an interface that describes a location. </p>
  91. <p>(e.g. where an error occured).</p>
  92. <dl class="section see"><dt>See also</dt><dd><a class="el" href="classDOMError.html#ae63e21de6b2b2b1f00d9c40a2b72fe15">DOMError::DOMError</a> </dd></dl>
  93. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  94. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  95. <a class="anchor" id="a388c4a12e5c0b09520d7c2860219be46"></a>
  96. <div class="memitem">
  97. <div class="memproto">
  98. <table class="mlabels">
  99. <tr>
  100. <td class="mlabels-left">
  101. <table class="memname">
  102. <tr>
  103. <td class="memname">DOMLocator::DOMLocator </td>
  104. <td>(</td>
  105. <td class="paramname"></td><td>)</td>
  106. <td></td>
  107. </tr>
  108. </table>
  109. </td>
  110. <td class="mlabels-right">
  111. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  112. </tr>
  113. </table>
  114. </div><div class="memdoc">
  115. </div>
  116. </div>
  117. <a class="anchor" id="a1fc9fd28a1c98ab4ec1fdebef56e53d7"></a>
  118. <div class="memitem">
  119. <div class="memproto">
  120. <table class="mlabels">
  121. <tr>
  122. <td class="mlabels-left">
  123. <table class="memname">
  124. <tr>
  125. <td class="memname">virtual DOMLocator::~DOMLocator </td>
  126. <td>(</td>
  127. <td class="paramname"></td><td>)</td>
  128. <td></td>
  129. </tr>
  130. </table>
  131. </td>
  132. <td class="mlabels-right">
  133. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  134. </tr>
  135. </table>
  136. </div><div class="memdoc">
  137. <p>Destructor. </p>
  138. </div>
  139. </div>
  140. <h2 class="groupheader">Member Function Documentation</h2>
  141. <a class="anchor" id="ab711f2bbacc99fdcfe9802466746bff8"></a>
  142. <div class="memitem">
  143. <div class="memproto">
  144. <table class="mlabels">
  145. <tr>
  146. <td class="mlabels-left">
  147. <table class="memname">
  148. <tr>
  149. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a> DOMLocator::getByteOffset </td>
  150. <td>(</td>
  151. <td class="paramname"></td><td>)</td>
  152. <td> const</td>
  153. </tr>
  154. </table>
  155. </td>
  156. <td class="mlabels-right">
  157. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  158. </tr>
  159. </table>
  160. </div><div class="memdoc">
  161. <p>Get the byte offset into the input source, or ~(XMLFilePos(0)) if there is no byte offset available. </p>
  162. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  163. </div>
  164. </div>
  165. <a class="anchor" id="ad26dfeff2c836a3b8370f9634be15236"></a>
  166. <div class="memitem">
  167. <div class="memproto">
  168. <table class="mlabels">
  169. <tr>
  170. <td class="mlabels-left">
  171. <table class="memname">
  172. <tr>
  173. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#add2d542a6583db767febf57446daa50d">XMLFileLoc</a> DOMLocator::getColumnNumber </td>
  174. <td>(</td>
  175. <td class="paramname"></td><td>)</td>
  176. <td> const</td>
  177. </tr>
  178. </table>
  179. </td>
  180. <td class="mlabels-right">
  181. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  182. </tr>
  183. </table>
  184. </div><div class="memdoc">
  185. <p>Get the column number where the error occured, or 0 if there is no column number available. </p>
  186. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  187. </div>
  188. </div>
  189. <a class="anchor" id="a7ec3e31ba773179b2b9f3aa69eb65f4d"></a>
  190. <div class="memitem">
  191. <div class="memproto">
  192. <table class="mlabels">
  193. <tr>
  194. <td class="mlabels-left">
  195. <table class="memname">
  196. <tr>
  197. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#add2d542a6583db767febf57446daa50d">XMLFileLoc</a> DOMLocator::getLineNumber </td>
  198. <td>(</td>
  199. <td class="paramname"></td><td>)</td>
  200. <td> const</td>
  201. </tr>
  202. </table>
  203. </td>
  204. <td class="mlabels-right">
  205. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  206. </tr>
  207. </table>
  208. </div><div class="memdoc">
  209. <p>Get the line number where the error occured, or 0 if there is no line number available. </p>
  210. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  211. </div>
  212. </div>
  213. <a class="anchor" id="ad1b1833084d23e2fb5e03f772ce45dbd"></a>
  214. <div class="memitem">
  215. <div class="memproto">
  216. <table class="mlabels">
  217. <tr>
  218. <td class="mlabels-left">
  219. <table class="memname">
  220. <tr>
  221. <td class="memname">virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMLocator::getRelatedNode </td>
  222. <td>(</td>
  223. <td class="paramname"></td><td>)</td>
  224. <td> const</td>
  225. </tr>
  226. </table>
  227. </td>
  228. <td class="mlabels-right">
  229. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  230. </tr>
  231. </table>
  232. </div><div class="memdoc">
  233. <p>Get the <a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> where the error occured, or <code>null</code> if there is no node available. </p>
  234. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  235. </div>
  236. </div>
  237. <a class="anchor" id="a0d805c3f31e1fe0791568c2568a9711f"></a>
  238. <div class="memitem">
  239. <div class="memproto">
  240. <table class="mlabels">
  241. <tr>
  242. <td class="mlabels-left">
  243. <table class="memname">
  244. <tr>
  245. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMLocator::getURI </td>
  246. <td>(</td>
  247. <td class="paramname"></td><td>)</td>
  248. <td> const</td>
  249. </tr>
  250. </table>
  251. </td>
  252. <td class="mlabels-right">
  253. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  254. </tr>
  255. </table>
  256. </div><div class="memdoc">
  257. <p>Get the URI where the error occured, or <code>null</code> if there is no URI available. </p>
  258. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  259. </div>
  260. </div>
  261. <a class="anchor" id="a749a481908f2dd0bef2634b956493dda"></a>
  262. <div class="memitem">
  263. <div class="memproto">
  264. <table class="mlabels">
  265. <tr>
  266. <td class="mlabels-left">
  267. <table class="memname">
  268. <tr>
  269. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a7647261a546ac47bda863a51d24ad898">XMLFilePos</a> DOMLocator::getUtf16Offset </td>
  270. <td>(</td>
  271. <td class="paramname"></td><td>)</td>
  272. <td> const</td>
  273. </tr>
  274. </table>
  275. </td>
  276. <td class="mlabels-right">
  277. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  278. </tr>
  279. </table>
  280. </div><div class="memdoc">
  281. <p>Get the UTF-16 offset into the input source, or ~(XMLFilePos(0)) if there is no UTF-16 offset available. </p>
  282. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  283. </div>
  284. </div>
  285. <hr/>The documentation for this class was generated from the following file:<ul>
  286. <li><a class="el" href="DOMLocator_8hpp_source.html">DOMLocator.hpp</a></li>
  287. </ul>
  288. </div><!-- contents -->
  289. <!-- start footer part -->
  290. <hr class="footer"/><address class="footer"><small>
  291. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  292. <img class="footer" src="doxygen.png" alt="doxygen"/>
  293. </a> 1.8.9.1
  294. </small></address>
  295. </body>
  296. </html>