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

288 lines
15 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla DOM3 API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacexercesc.html">xercesc</a></li><li class="navelem"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">DOMXPathNSResolver</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="classxercesc_1_1DOMXPathNSResolver-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">xercesc::DOMXPathNSResolver Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>The <code><a class="el" href="classxercesc_1_1DOMXPathNSResolver.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.
<a href="classxercesc_1_1DOMXPathNSResolver.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="DOMXPathNSResolver_8hpp_source.html">DOMXPathNSResolver.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xercesc::DOMXPathNSResolver:</div>
<div class="dyncontent">
<div class="center"><img src="classxercesc_1_1DOMXPathNSResolver__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMXPathNSResolver_inherit__map" alt="Inheritance graph"/></div>
<map name="xercesc_1_1DOMXPathNSResolver_inherit__map" id="xercesc_1_1DOMXPathNSResolver_inherit__map">
<area shape="rect" id="node2" href="classXQillaNSResolver.html" title="The XQillaNSResolver interface extends the DOMXPathNSResolver providing the ability to add additional..." alt="" coords="48,80,176,107"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr class="memitem:aa51c546b470cff0cf82c6c0da2388453"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#aa51c546b470cff0cf82c6c0da2388453">~DOMXPathNSResolver</a> ()</td></tr>
<tr class="memdesc:aa51c546b470cff0cf82c6c0da2388453"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#aa51c546b470cff0cf82c6c0da2388453">More...</a><br/></td></tr>
<tr class="separator:aa51c546b470cff0cf82c6c0da2388453"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
<tr class="memitem:ac8a0cf56615b39b156cd4471c567d5f7"><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#ac8a0cf56615b39b156cd4471c567d5f7">lookupNamespaceURI</a> (const XMLCh *prefix) const =0</td></tr>
<tr class="memdesc:ac8a0cf56615b39b156cd4471c567d5f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look up the namespace URI associated to the given namespace prefix. <a href="#ac8a0cf56615b39b156cd4471c567d5f7">More...</a><br/></td></tr>
<tr class="separator:ac8a0cf56615b39b156cd4471c567d5f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Non-standard extension</div></td></tr>
<tr class="memitem:a9ea05aac29d92512870cd164270a0c6d"><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#a9ea05aac29d92512870cd164270a0c6d">lookupPrefix</a> (const XMLCh *URI) const =0</td></tr>
<tr class="memdesc:a9ea05aac29d92512870cd164270a0c6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Non-standard extension. <a href="#a9ea05aac29d92512870cd164270a0c6d">More...</a><br/></td></tr>
<tr class="separator:a9ea05aac29d92512870cd164270a0c6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac16f049dfba4fdba99b1d4db19994b87"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#ac16f049dfba4fdba99b1d4db19994b87">addNamespaceBinding</a> (const XMLCh *prefix, const XMLCh *uri)=0</td></tr>
<tr class="memdesc:ac16f049dfba4fdba99b1d4db19994b87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Non-standard extension. <a href="#ac16f049dfba4fdba99b1d4db19994b87">More...</a><br/></td></tr>
<tr class="separator:ac16f049dfba4fdba99b1d4db19994b87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac816267cd71f922ec761bfddeeb70f8d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#ac816267cd71f922ec761bfddeeb70f8d">release</a> ()=0</td></tr>
<tr class="memdesc:ac816267cd71f922ec761bfddeeb70f8d"><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="#ac816267cd71f922ec761bfddeeb70f8d">More...</a><br/></td></tr>
<tr class="separator:ac816267cd71f922ec761bfddeeb70f8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
<tr class="memitem:aaa60bf61d474b4d380475a255774b800"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#aaa60bf61d474b4d380475a255774b800">DOMXPathNSResolver</a> ()</td></tr>
<tr class="separator:aaa60bf61d474b4d380475a255774b800"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <code><a class="el" href="classxercesc_1_1DOMXPathNSResolver.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>
<p><code><a class="el" href="classxercesc_1_1DOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator. ">DOMXPathEvaluator</a></code> can construct an implementation of <code><a class="el" href="classxercesc_1_1DOMXPathNSResolver.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>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aaa60bf61d474b4d380475a255774b800"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMXPathNSResolver::DOMXPathNSResolver </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa51c546b470cff0cf82c6c0da2388453"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMXPathNSResolver::~DOMXPathNSResolver </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ac16f049dfba4fdba99b1d4db19994b87"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMXPathNSResolver::addNamespaceBinding </td>
<td>(</td>
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>uri</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Non-standard extension. </p>
<p>Associate the given namespace prefix to the namespace URI. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<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>
<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>
</table>
</dd>
</dl>
<p>Implemented in <a class="el" href="classXQillaNSResolver.html#a2e9e6328a5e1fd954db610d01881b351">XQillaNSResolver</a>.</p>
</div>
</div>
<a class="anchor" id="ac8a0cf56615b39b156cd4471c567d5f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMXPathNSResolver::lookupNamespaceURI </td>
<td>(</td>
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>prefix</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Look up the namespace URI associated to the given namespace prefix. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<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>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the associated namespace URI or null if none is found. </dd></dl>
<p>Implemented in <a class="el" href="classXQillaNSResolver.html#a15f91f0db95c7b5a43e65a525b16bf2f">XQillaNSResolver</a>.</p>
</div>
</div>
<a class="anchor" id="a9ea05aac29d92512870cd164270a0c6d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMXPathNSResolver::lookupPrefix </td>
<td>(</td>
<td class="paramtype">const XMLCh *&#160;</td>
<td class="paramname"><em>URI</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Non-standard extension. </p>
<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>
<table class="params">
<tr><td class="paramname">URI</td><td>of type XMLCh - The namespace to look for. </td></tr>
</table>
</dd>
</dl>
<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>
<p>Implemented in <a class="el" href="classXQillaNSResolver.html#a091df7c5468484454d77a2fdf26fb69b">XQillaNSResolver</a>.</p>
</div>
</div>
<a class="anchor" id="ac816267cd71f922ec761bfddeeb70f8d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMXPathNSResolver::release </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<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>
<p>Access to a released object will lead to unexpected result. </p>
<p>Implemented in <a class="el" href="classXQillaNSResolver.html#a41b21d6de565639a17b982b96d26769f">XQillaNSResolver</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMXPathNSResolver_8hpp_source.html">DOMXPathNSResolver.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>