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

238 lines
14 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.7.3 -->
<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>
<div class="header">
<div class="headertitle">
<h1>xercesc::DOMXPathNSResolver Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="xercesc::DOMXPathNSResolver" -->
<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="#_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="node3" href="classXQillaNSResolver.html" title="The XQillaNSResolver interface extends the DOMXPathNSResolver providing the ability to add additional..." alt="" coords="48,83,176,112"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classxercesc_1_1DOMXPathNSResolver-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><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><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#aa51c546b470cff0cf82c6c0da2388453"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
<tr><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><td class="mdescLeft">&#160;</td><td class="mdescRight">Look up the namespace URI associated to the given namespace prefix. <a href="#ac8a0cf56615b39b156cd4471c567d5f7"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Non-standard extension</div></td></tr>
<tr><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><td class="mdescLeft">&#160;</td><td class="mdescRight">Non-standard extension. <a href="#a9ea05aac29d92512870cd164270a0c6d"></a><br/></td></tr>
<tr><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><td class="mdescLeft">&#160;</td><td class="mdescRight">Non-standard extension. <a href="#ac16f049dfba4fdba99b1d4db19994b87"></a><br/></td></tr>
<tr><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><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"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
<tr><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>
</table>
<hr/><a name="_details"></a><h2>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="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aaa60bf61d474b4d380475a255774b800"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::DOMXPathNSResolver" ref="aaa60bf61d474b4d380475a255774b800" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMXPathNSResolver::DOMXPathNSResolver </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aa51c546b470cff0cf82c6c0da2388453"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::~DOMXPathNSResolver" ref="aa51c546b470cff0cf82c6c0da2388453" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMXPathNSResolver::~DOMXPathNSResolver </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac16f049dfba4fdba99b1d4db19994b87"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::addNamespaceBinding" ref="ac16f049dfba4fdba99b1d4db19994b87" args="(const XMLCh *prefix, const XMLCh *uri)=0" -->
<div class="memitem">
<div class="memproto">
<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><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Non-standard extension. </p>
<p>Associate the given namespace prefix to the namespace URI. </p>
<dl><dt><b>Parameters:</b></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><!-- doxytag: member="xercesc::DOMXPathNSResolver::lookupNamespaceURI" ref="ac8a0cf56615b39b156cd4471c567d5f7" args="(const XMLCh *prefix) const =0" -->
<div class="memitem">
<div class="memproto">
<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<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Look up the namespace URI associated to the given namespace prefix. </p>
<dl><dt><b>Parameters:</b></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="return"><dt><b>Returns:</b></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><!-- doxytag: member="xercesc::DOMXPathNSResolver::lookupPrefix" ref="a9ea05aac29d92512870cd164270a0c6d" args="(const XMLCh *URI) const =0" -->
<div class="memitem">
<div class="memproto">
<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<code> [pure virtual]</code></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><dt><b>Parameters:</b></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="return"><dt><b>Returns:</b></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><!-- doxytag: member="xercesc::DOMXPathNSResolver::release" ref="ac816267cd71f922ec761bfddeeb70f8d" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMXPathNSResolver::release </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [pure virtual]</code></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>
<hr class="footer"/><address class="footer"><small>Generated on Mon Oct 31 2011 19:08:37 for XQilla DOM Level 3 API by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>