XQuilla/docs/dom3-api/classXQillaNSResolver.html

220 lines
12 KiB
HTML
Raw Normal View History

2020-02-17 21:05:20 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
2020-02-17 21:11:31 +00:00
<title>XQilla DOM3 API Documentation</title>
2020-02-17 21:05:20 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
2020-02-17 21:11:31 +00:00
<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>
2020-02-17 21:17:06 +00:00
<!-- 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>
<div class="contents">
<h1>XQillaNSResolver Class Reference</h1><!-- doxytag: class="XQillaNSResolver" --><!-- doxytag: inherits="xercesc::DOMXPathNSResolver" -->The <code><a class="el" href="classXQillaNSResolver.html" title="The XQillaNSResolver interface extends the DOMXPathNSResolver providing the ability...">XQillaNSResolver</a></code> interface extends the <code>DOMXPathNSResolver</code> providing the ability to add additional namespace bindings.
2020-02-17 21:05:20 +00:00
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="XQillaNSResolver_8hpp-source.html">XQillaNSResolver.hpp</a>&gt;</code>
<p>
2020-02-17 21:17:06 +00:00
<div class="dynheader">
Inheritance diagram for XQillaNSResolver:</div>
<div class="dynsection">
<p><center><img src="classXQillaNSResolver__inherit__graph.png" border="0" usemap="#XQillaNSResolver__inherit__map" alt="Inheritance graph"></center>
2020-02-17 21:05:20 +00:00
<map name="XQillaNSResolver__inherit__map">
2020-02-17 21:17:06 +00:00
<area shape="rect" href="classxercesc_1_1DOMXPathNSResolver.html" title="The DOMXPathNSResolver interface permit prefix strings in the expression to be properly..." alt="" coords="5,7,216,31"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classXQillaNSResolver-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
2020-02-17 21:05:20 +00:00
<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>
2020-02-17 21:17:06 +00:00
<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>
2020-02-17 21:05:20 +00:00
2020-02-17 21:17:06 +00:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#091df7c5468484454d77a2fdf26fb69b"></a><br></td></tr>
2020-02-17 21:05:20 +00:00
<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>
2020-02-17 21:17:06 +00:00
<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>
2020-02-17 21:05:20 +00:00
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
2020-02-17 21:17:06 +00:00
The <code><a class="el" href="classXQillaNSResolver.html" title="The XQillaNSResolver interface extends the DOMXPathNSResolver providing the ability...">XQillaNSResolver</a></code> interface extends the <code>DOMXPathNSResolver</code> providing the ability to add additional namespace bindings.
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
2020-02-17 21:05:20 +00:00
<hr><h2>Constructor &amp; Destructor Documentation</h2>
2020-02-17 21:10:06 +00:00
<a class="anchor" name="8a03c55d621780b0719e14902618be6a"></a><!-- doxytag: member="XQillaNSResolver::XQillaNSResolver" ref="8a03c55d621780b0719e14902618be6a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">XQillaNSResolver::XQillaNSResolver </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
2020-02-17 21:05:20 +00:00
<hr><h2>Member Function Documentation</h2>
2020-02-17 21:10:06 +00:00
<a class="anchor" name="2e9e6328a5e1fd954db610d01881b351"></a><!-- doxytag: member="XQillaNSResolver::addNamespaceBinding" ref="2e9e6328a5e1fd954db610d01881b351" args="(const XMLCh *prefix, const XMLCh *uri)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual void XQillaNSResolver::addNamespaceBinding </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>prefix</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>uri</em></td><td>&nbsp;</td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:10:06 +00:00
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<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>
2020-02-17 21:10:06 +00:00
2020-02-17 21:17:06 +00:00
<p>Implements <a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#c16f049dfba4fdba99b1d4db19994b87">xercesc::DOMXPathNSResolver</a>.</p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
<a class="anchor" name="15f91f0db95c7b5a43e65a525b16bf2f"></a><!-- doxytag: member="XQillaNSResolver::lookupNamespaceURI" ref="15f91f0db95c7b5a43e65a525b16bf2f" args="(const XMLCh *prefix) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual const XMLCh* XQillaNSResolver::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>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<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>
2020-02-17 21:10:06 +00:00
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the associated namespace URI or null if none is found. </dd></dl>
2020-02-17 21:05:20 +00:00
2020-02-17 21:17:06 +00:00
<p>Implements <a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#c8a0cf56615b39b156cd4471c567d5f7">xercesc::DOMXPathNSResolver</a>.</p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
2020-02-17 21:17:06 +00:00
<a class="anchor" name="091df7c5468484454d77a2fdf26fb69b"></a><!-- doxytag: member="XQillaNSResolver::lookupPrefix" ref="091df7c5468484454d77a2fdf26fb69b" args="(const XMLCh *uri) const =0" -->
2020-02-17 21:10:06 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual const XMLCh* XQillaNSResolver::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>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<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>
2020-02-17 21:10:06 +00:00
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the associated prefix or null if none is found. </dd></dl>
2020-02-17 21:05:20 +00:00
2020-02-17 21:17:06 +00:00
<p>Implements <a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#9ea05aac29d92512870cd164270a0c6d">xercesc::DOMXPathNSResolver</a>.</p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
<a class="anchor" name="41b21d6de565639a17b982b96d26769f"></a><!-- doxytag: member="XQillaNSResolver::release" ref="41b21d6de565639a17b982b96d26769f" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:10:06 +00:00
<td class="memname">virtual void XQillaNSResolver::release </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:10:06 +00:00
</div>
<div class="memdoc">
2020-02-17 21:05:20 +00:00
<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>
2020-02-17 21:10:06 +00:00
Access to a released object will lead to unexpected result.
2020-02-17 21:17:06 +00:00
<p>Implements <a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#c816267cd71f922ec761bfddeeb70f8d">xercesc::DOMXPathNSResolver</a>.</p>
2020-02-17 21:10:06 +00:00
</div>
</div><p>
2020-02-17 21:05:20 +00:00
<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>
2020-02-17 21:17:06 +00:00
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:54:49 2009 for XQilla DOM Level 3 API by&nbsp;
2020-02-17 21:05:20 +00:00
<a href="http://www.doxygen.org/index.html">
2020-02-17 21:17:06 +00:00
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
2020-02-17 21:05:20 +00:00
</body>
</html>