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

246 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.5.5 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="classes.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 class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">DOMXPathNSResolver</a>
</div>
</div>
<div class="contents">
<h1>xercesc::DOMXPathNSResolver Class Reference</h1><!-- doxytag: class="xercesc::DOMXPathNSResolver" -->The <code><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html" title="The DOMXPathNSResolver interface permit prefix strings in the expression to be properly...">DOMXPathNSResolver</a></code> interface permit prefix strings in the expression to be properly bound to namespaceURI strings.
<a href="#_details">More...</a>
<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="dynsection">
<p><center><img src="classxercesc_1_1DOMXPathNSResolver__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMXPathNSResolver__inherit__map" alt="Inheritance graph"></center>
<map name="xercesc_1_1DOMXPathNSResolver__inherit__map">
<area shape="rect" href="classXQillaNSResolver.html" title="The XQillaNSResolver interface extends the DOMXPathNSResolver providing the ability..." alt="" coords="49,81,172,105"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classxercesc_1_1DOMXPathNSResolver-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#a51c546b470cff0cf82c6c0da2388453">~DOMXPathNSResolver</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#a51c546b470cff0cf82c6c0da2388453"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#c8a0cf56615b39b156cd4471c567d5f7">lookupNamespaceURI</a> (const XMLCh *prefix) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Look up the namespace URI associated to the given namespace prefix. <a href="#c8a0cf56615b39b156cd4471c567d5f7"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Non-standard extension</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#9ea05aac29d92512870cd164270a0c6d">lookupPrefix</a> (const XMLCh *URI) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#9ea05aac29d92512870cd164270a0c6d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#c16f049dfba4fdba99b1d4db19994b87">addNamespaceBinding</a> (const XMLCh *prefix, const XMLCh *uri)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#c16f049dfba4fdba99b1d4db19994b87"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#c816267cd71f922ec761bfddeeb70f8d">release</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</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="#c816267cd71f922ec761bfddeeb70f8d"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#aa60bf61d474b4d380475a255774b800">DOMXPathNSResolver</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <code><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html" title="The DOMXPathNSResolver interface permit prefix strings in the expression to be properly...">DOMXPathNSResolver</a></code> interface permit prefix strings in the expression to be properly bound to namespaceURI strings.
<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...">DOMXPathNSResolver</a></code> from a node, or the interface may be implemented by any application. <dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="aa60bf61d474b4d380475a255774b800"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::DOMXPathNSResolver" ref="aa60bf61d474b4d380475a255774b800" 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>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="a51c546b470cff0cf82c6c0da2388453"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::~DOMXPathNSResolver" ref="a51c546b470cff0cf82c6c0da2388453" 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>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c8a0cf56615b39b156cd4471c567d5f7"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::lookupNamespaceURI" ref="c8a0cf56615b39b156cd4471c567d5f7" 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 *&nbsp;</td>
<td class="paramname"> <em>prefix</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> 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 compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>prefix</em>&nbsp;</td><td>of type XMLCh - The prefix to look for. An empty or null string denotes the default namespace. </td></tr>
</table>
</dl>
<dl class="return" compact><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#15f91f0db95c7b5a43e65a525b16bf2f">XQillaNSResolver</a>.</p>
</div>
</div><p>
<a class="anchor" name="9ea05aac29d92512870cd164270a0c6d"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::lookupPrefix" ref="9ea05aac29d92512870cd164270a0c6d" 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 *&nbsp;</td>
<td class="paramname"> <em>URI</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Non-standard extension.
<p>
XPath2 implementations require a reverse lookup in the static context. Look up the prefix associated with the namespace URI <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>URI</em>&nbsp;</td><td>of type XMLCh - The namespace to look for. </td></tr>
</table>
</dl>
<dl class="return" compact><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#091df7c5468484454d77a2fdf26fb69b">XQillaNSResolver</a>.</p>
</div>
</div><p>
<a class="anchor" name="c16f049dfba4fdba99b1d4db19994b87"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::addNamespaceBinding" ref="c16f049dfba4fdba99b1d4db19994b87" 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 *&nbsp;</td>
<td class="paramname"> <em>prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>uri</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Non-standard extension.
<p>
Associate the given namespace prefix to the namespace URI. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>prefix</em>&nbsp;</td><td>of type XMLCh - The namespace prefix to bind. An empty or null string denotes the default namespace. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>uri</em>&nbsp;</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>
</dl>
<p>Implemented in <a class="el" href="classXQillaNSResolver.html#2e9e6328a5e1fd954db610d01881b351">XQillaNSResolver</a>.</p>
</div>
</div><p>
<a class="anchor" name="c816267cd71f922ec761bfddeeb70f8d"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::release" ref="c816267cd71f922ec761bfddeeb70f8d" 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>&nbsp;)&nbsp;</td>
<td width="100%"><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>
Access to a released object will lead to unexpected result.
<p>Implemented in <a class="el" href="classXQillaNSResolver.html#41b21d6de565639a17b982b96d26769f">XQillaNSResolver</a>.</p>
</div>
</div><p>
<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></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:54:59 2009 for XQilla DOM Level 3 API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>