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.

284 lines
15 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++: DOMXPathNSResolver 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="classDOMXPathNSResolver-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">DOMXPathNSResolver Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p>The <code><a class="el" href="classDOMXPathNSResolver.html" title="The DOMXPathNSResolver interface permit prefix strings in the expression to be properly bound to name...">DOMXPathNSResolver</a></code> interface permit prefix strings in the expression to be properly bound to namespaceURI strings.
  55. <a href="classDOMXPathNSResolver.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:a961a4dbd9aef8554c66c7cbd872c694c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathNSResolver.html#a961a4dbd9aef8554c66c7cbd872c694c">~DOMXPathNSResolver</a> ()</td></tr>
  61. <tr class="memdesc:a961a4dbd9aef8554c66c7cbd872c694c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a961a4dbd9aef8554c66c7cbd872c694c">More...</a><br /></td></tr>
  62. <tr class="separator:a961a4dbd9aef8554c66c7cbd872c694c"><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:a40630b2dcffe3bc6c9570d1fbfff808c"><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="classDOMXPathNSResolver.html#a40630b2dcffe3bc6c9570d1fbfff808c">lookupNamespaceURI</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *prefix) const =0</td></tr>
  65. <tr class="memdesc:a40630b2dcffe3bc6c9570d1fbfff808c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look up the namespace URI associated to the given namespace prefix. <a href="#a40630b2dcffe3bc6c9570d1fbfff808c">More...</a><br /></td></tr>
  66. <tr class="separator:a40630b2dcffe3bc6c9570d1fbfff808c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  67. <tr><td colspan="2"><div class="groupHeader">Non-standard extension</div></td></tr>
  68. <tr class="memitem:aab90a6ed934cca22321b975ac7460ef7"><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="classDOMXPathNSResolver.html#aab90a6ed934cca22321b975ac7460ef7">lookupPrefix</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *URI) const =0</td></tr>
  69. <tr class="memdesc:aab90a6ed934cca22321b975ac7460ef7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Non-standard extension. <a href="#aab90a6ed934cca22321b975ac7460ef7">More...</a><br /></td></tr>
  70. <tr class="separator:aab90a6ed934cca22321b975ac7460ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  71. <tr class="memitem:a74cf8b941548eb8362b8915056337a01"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathNSResolver.html#a74cf8b941548eb8362b8915056337a01">addNamespaceBinding</a> (const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *prefix, const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *uri)=0</td></tr>
  72. <tr class="memdesc:a74cf8b941548eb8362b8915056337a01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Non-standard extension. <a href="#a74cf8b941548eb8362b8915056337a01">More...</a><br /></td></tr>
  73. <tr class="separator:a74cf8b941548eb8362b8915056337a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
  74. <tr class="memitem:aebc5602f1e8b85f043c908e9bdad0a40"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathNSResolver.html#aebc5602f1e8b85f043c908e9bdad0a40">release</a> ()=0</td></tr>
  75. <tr class="memdesc:aebc5602f1e8b85f043c908e9bdad0a40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to indicate that this object (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children. <a href="#aebc5602f1e8b85f043c908e9bdad0a40">More...</a><br /></td></tr>
  76. <tr class="separator:aebc5602f1e8b85f043c908e9bdad0a40"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. </table><table class="memberdecls">
  78. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  79. Protected Member Functions</h2></td></tr>
  80. <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
  81. <tr class="memitem:a3c6557bf3e191de76173ef090f8be78b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathNSResolver.html#a3c6557bf3e191de76173ef090f8be78b">DOMXPathNSResolver</a> ()</td></tr>
  82. <tr class="separator:a3c6557bf3e191de76173ef090f8be78b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  83. </table>
  84. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  85. <div class="textblock"><p>The <code><a class="el" href="classDOMXPathNSResolver.html" title="The DOMXPathNSResolver interface permit prefix strings in the expression to be properly bound to name...">DOMXPathNSResolver</a></code> interface permit prefix strings in the expression to be properly bound to namespaceURI strings. </p>
  86. <p><code><a class="el" href="classDOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code> can construct an implementation of <code><a class="el" href="classDOMXPathNSResolver.html" title="The DOMXPathNSResolver interface permit prefix strings in the expression to be properly bound to name...">DOMXPathNSResolver</a></code> from a node, or the interface may be implemented by any application. </p><dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  87. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  88. <a class="anchor" id="a3c6557bf3e191de76173ef090f8be78b"></a>
  89. <div class="memitem">
  90. <div class="memproto">
  91. <table class="mlabels">
  92. <tr>
  93. <td class="mlabels-left">
  94. <table class="memname">
  95. <tr>
  96. <td class="memname">DOMXPathNSResolver::DOMXPathNSResolver </td>
  97. <td>(</td>
  98. <td class="paramname"></td><td>)</td>
  99. <td></td>
  100. </tr>
  101. </table>
  102. </td>
  103. <td class="mlabels-right">
  104. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  105. </tr>
  106. </table>
  107. </div><div class="memdoc">
  108. </div>
  109. </div>
  110. <a class="anchor" id="a961a4dbd9aef8554c66c7cbd872c694c"></a>
  111. <div class="memitem">
  112. <div class="memproto">
  113. <table class="mlabels">
  114. <tr>
  115. <td class="mlabels-left">
  116. <table class="memname">
  117. <tr>
  118. <td class="memname">virtual DOMXPathNSResolver::~DOMXPathNSResolver </td>
  119. <td>(</td>
  120. <td class="paramname"></td><td>)</td>
  121. <td></td>
  122. </tr>
  123. </table>
  124. </td>
  125. <td class="mlabels-right">
  126. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  127. </tr>
  128. </table>
  129. </div><div class="memdoc">
  130. <p>Destructor. </p>
  131. </div>
  132. </div>
  133. <h2 class="groupheader">Member Function Documentation</h2>
  134. <a class="anchor" id="a74cf8b941548eb8362b8915056337a01"></a>
  135. <div class="memitem">
  136. <div class="memproto">
  137. <table class="mlabels">
  138. <tr>
  139. <td class="mlabels-left">
  140. <table class="memname">
  141. <tr>
  142. <td class="memname">virtual void DOMXPathNSResolver::addNamespaceBinding </td>
  143. <td>(</td>
  144. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td>
  145. <td class="paramname"><em>prefix</em>, </td>
  146. </tr>
  147. <tr>
  148. <td class="paramkey"></td>
  149. <td></td>
  150. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td>
  151. <td class="paramname"><em>uri</em>&#160;</td>
  152. </tr>
  153. <tr>
  154. <td></td>
  155. <td>)</td>
  156. <td></td><td></td>
  157. </tr>
  158. </table>
  159. </td>
  160. <td class="mlabels-right">
  161. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  162. </tr>
  163. </table>
  164. </div><div class="memdoc">
  165. <p>Non-standard extension. </p>
  166. <p>Associate the given namespace prefix to the namespace URI. </p><dl class="params"><dt>Parameters</dt><dd>
  167. <table class="params">
  168. <tr><td class="paramname">prefix</td><td>of type XMLCh - The namespace prefix to bind. An empty or null string denotes the default namespace. </td></tr>
  169. <tr><td class="paramname">uri</td><td>of type XMLCh - The associated namespace URI. If this argument is null or an empty string then the existing binding for this prefix is removed. </td></tr>
  170. </table>
  171. </dd>
  172. </dl>
  173. </div>
  174. </div>
  175. <a class="anchor" id="a40630b2dcffe3bc6c9570d1fbfff808c"></a>
  176. <div class="memitem">
  177. <div class="memproto">
  178. <table class="mlabels">
  179. <tr>
  180. <td class="mlabels-left">
  181. <table class="memname">
  182. <tr>
  183. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMXPathNSResolver::lookupNamespaceURI </td>
  184. <td>(</td>
  185. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td>
  186. <td class="paramname"><em>prefix</em></td><td>)</td>
  187. <td> const</td>
  188. </tr>
  189. </table>
  190. </td>
  191. <td class="mlabels-right">
  192. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  193. </tr>
  194. </table>
  195. </div><div class="memdoc">
  196. <p>Look up the namespace URI associated to the given namespace prefix. </p>
  197. <dl class="params"><dt>Parameters</dt><dd>
  198. <table class="params">
  199. <tr><td class="paramname">prefix</td><td>of type XMLCh - The prefix to look for. An empty or null string denotes the default namespace. </td></tr>
  200. </table>
  201. </dd>
  202. </dl>
  203. <dl class="section return"><dt>Returns</dt><dd>the associated namespace URI or null if none is found. </dd></dl>
  204. </div>
  205. </div>
  206. <a class="anchor" id="aab90a6ed934cca22321b975ac7460ef7"></a>
  207. <div class="memitem">
  208. <div class="memproto">
  209. <table class="mlabels">
  210. <tr>
  211. <td class="mlabels-left">
  212. <table class="memname">
  213. <tr>
  214. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMXPathNSResolver::lookupPrefix </td>
  215. <td>(</td>
  216. <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td>
  217. <td class="paramname"><em>URI</em></td><td>)</td>
  218. <td> const</td>
  219. </tr>
  220. </table>
  221. </td>
  222. <td class="mlabels-right">
  223. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  224. </tr>
  225. </table>
  226. </div><div class="memdoc">
  227. <p>Non-standard extension. </p>
  228. <p>XPath2 implementations require a reverse lookup in the static context. Look up the prefix associated with the namespace URI </p><dl class="params"><dt>Parameters</dt><dd>
  229. <table class="params">
  230. <tr><td class="paramname">URI</td><td>of type XMLCh - The namespace to look for. </td></tr>
  231. </table>
  232. </dd>
  233. </dl>
  234. <dl class="section return"><dt>Returns</dt><dd>the associated prefix which can be an empty string if this is a default namespace or null if none is found. </dd></dl>
  235. </div>
  236. </div>
  237. <a class="anchor" id="aebc5602f1e8b85f043c908e9bdad0a40"></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 void DOMXPathNSResolver::release </td>
  246. <td>(</td>
  247. <td class="paramname"></td><td>)</td>
  248. <td></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>Called to indicate that this object (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children. </p>
  258. <p>Access to a released object will lead to unexpected result. </p>
  259. </div>
  260. </div>
  261. <hr/>The documentation for this class was generated from the following file:<ul>
  262. <li><a class="el" href="DOMXPathNSResolver_8hpp_source.html">DOMXPathNSResolver.hpp</a></li>
  263. </ul>
  264. </div><!-- contents -->
  265. <!-- start footer part -->
  266. <hr class="footer"/><address class="footer"><small>
  267. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  268. <img class="footer" src="doxygen.png" alt="doxygen"/>
  269. </a> 1.8.9.1
  270. </small></address>
  271. </body>
  272. </html>