XQuilla/docs/dom3-api/classXQillaNSResolver.html
2020-02-17 22:05:20 +01:00

244 lines
12 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 DOM Level 3 API: XQillaNSResolver Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<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 id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</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>
<h1>XQillaNSResolver Class Reference</h1><!-- doxytag: class="XQillaNSResolver" --><!-- doxytag: inherits="xercesc::DOMXPathNSResolver" -->The <code><a class="el" href="classXQillaNSResolver.html">XQillaNSResolver</a></code> interface extends the <code>DOMXPathNSResolver</code> providing the ability to add additional namespace bindings.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="XQillaNSResolver_8hpp-source.html">XQillaNSResolver.hpp</a>&gt;</code>
<p>
Inheritance diagram for XQillaNSResolver:<p><center><img src="classXQillaNSResolver__inherit__graph.png" border="0" usemap="#XQillaNSResolver__inherit__map" alt="Inheritance graph"></center>
<map name="XQillaNSResolver__inherit__map">
<area href="classxercesc_1_1DOMXPathNSResolver.html" shape="rect" coords="7,9,221,33" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXQillaNSResolver-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">Non-standard extension</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXQillaNSResolver.html#2e9e6328a5e1fd954db610d01881b351">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="#2e9e6328a5e1fd954db610d01881b351"></a><br></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="classXQillaNSResolver.html#15f91f0db95c7b5a43e65a525b16bf2f">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="#15f91f0db95c7b5a43e65a525b16bf2f"></a><br></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="classXQillaNSResolver.html#091df7c5468484454d77a2fdf26fb69b">lookupPrefix</a> (const XMLCh *uri) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#091df7c5468484454d77a2fdf26fb69b"></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 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXQillaNSResolver.html#41b21d6de565639a17b982b96d26769f">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="#41b21d6de565639a17b982b96d26769f"></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="classXQillaNSResolver.html#8a03c55d621780b0719e14902618be6a">XQillaNSResolver</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <code><a class="el" href="classXQillaNSResolver.html">XQillaNSResolver</a></code> interface extends the <code>DOMXPathNSResolver</code> providing the ability to add additional namespace bindings.
<p>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="8a03c55d621780b0719e14902618be6a"></a><!-- doxytag: member="XQillaNSResolver::XQillaNSResolver" ref="8a03c55d621780b0719e14902618be6a" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">XQillaNSResolver::XQillaNSResolver </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2e9e6328a5e1fd954db610d01881b351"></a><!-- doxytag: member="XQillaNSResolver::addNamespaceBinding" ref="2e9e6328a5e1fd954db610d01881b351" args="(const XMLCh *prefix, const XMLCh *uri)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void XQillaNSResolver::addNamespaceBinding </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *&nbsp;</td>
<td class="mdname" nowrap> <em>prefix</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const XMLCh *&nbsp;</td>
<td class="mdname" nowrap> <em>uri</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Non-standard extension.
<p>
XQilla requires additional bindings of namespaces. This method will bind the given prefix to the associated namespace. <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 bind. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>URI</em>&nbsp;</td><td>of type XMLCh - The associated namespace. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="15f91f0db95c7b5a43e65a525b16bf2f"></a><!-- doxytag: member="XQillaNSResolver::lookupNamespaceURI" ref="15f91f0db95c7b5a43e65a525b16bf2f" args="(const XMLCh *prefix) const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual const XMLCh* XQillaNSResolver::lookupNamespaceURI </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>prefix</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Look up the namespace URI associated to the given namespace prefix.
<p>
The XPath evaluator must never call this with a null or empty argument, because the result of doing this is undefined. <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. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the associated namespace URI or null if none is found. </dd></dl>
<p>
Implements <a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#c8a0cf56615b39b156cd4471c567d5f7">xercesc::DOMXPathNSResolver</a>. </td>
</tr>
</table>
<a class="anchor" name="091df7c5468484454d77a2fdf26fb69b"></a><!-- doxytag: member="XQillaNSResolver::lookupPrefix" ref="091df7c5468484454d77a2fdf26fb69b" args="(const XMLCh *uri) const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual const XMLCh* XQillaNSResolver::lookupPrefix </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>uri</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Non-standard extension.
<p>
XPath2 implementations require a reverse lookup in the static context. Look up the prefix associated with the namespace URI The XPath evaluator must never call this with a null or empty argument, because the result of doing this is undefined. <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 compact><dt><b>Returns:</b></dt><dd>the associated prefix or null if none is found. </dd></dl>
<p>
Implements <a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#9ea05aac29d92512870cd164270a0c6d">xercesc::DOMXPathNSResolver</a>. </td>
</tr>
</table>
<a class="anchor" name="41b21d6de565639a17b982b96d26769f"></a><!-- doxytag: member="XQillaNSResolver::release" ref="41b21d6de565639a17b982b96d26769f" args="()=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void XQillaNSResolver::release </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<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. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XQillaNSResolver_8hpp-source.html">XQillaNSResolver.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:19:01 2006 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.4.6 </small></address>
</body>
</html>