XQuilla/docs/dom3-api/classxercesc_1_1DOMXPathNSResolver.html

270 lines
14 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:19:08 +00:00
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
<h1>xercesc::DOMXPathNSResolver Class Reference</h1>The <code><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">DOMXPathNSResolver</a></code> interface permit prefix strings in the expression to be properly bound to namespaceURI strings.
2020-02-17 21:05:20 +00:00
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMXPathNSResolver_8hpp-source.html">DOMXPathNSResolver.hpp</a>&gt;</code>
<p>
2020-02-17 21:19:08 +00:00
Inheritance diagram for xercesc::DOMXPathNSResolver:<p><center><img src="classxercesc_1_1DOMXPathNSResolver__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMXPathNSResolver__inherit__map" alt="Inheritance graph"></center>
2020-02-17 21:05:20 +00:00
<map name="xercesc_1_1DOMXPathNSResolver__inherit__map">
2020-02-17 21:19:08 +00:00
<area href="classXQillaNSResolver.html" shape="rect" coords="47,81,175,105" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxercesc_1_1DOMXPathNSResolver-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>
2020-02-17 21:17:06 +00:00
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
2020-02-17 21:19:08 +00:00
<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#z504_0">~DOMXPathNSResolver</a> ()</td></tr>
2020-02-17 21:17:06 +00:00
2020-02-17 21:19:08 +00:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#z504_0"></a><br></td></tr>
2020-02-17 21:05:20 +00:00
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
2020-02-17 21:19:08 +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="classxercesc_1_1DOMXPathNSResolver.html#z506_0">lookupNamespaceURI</a> (const XMLCh *prefix) const =0</td></tr>
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:08 +00:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Look up the namespace URI associated to the given namespace prefix. <a href="#z506_0"></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>
2020-02-17 21:19:08 +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="classxercesc_1_1DOMXPathNSResolver.html#z508_0">lookupPrefix</a> (const XMLCh *URI) const =0</td></tr>
2020-02-17 21:17:06 +00:00
2020-02-17 21:19:08 +00:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#z508_0"></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#z508_1">addNamespaceBinding</a> (const XMLCh *prefix, const XMLCh *uri)=0</td></tr>
2020-02-17 21:17:06 +00:00
2020-02-17 21:19:08 +00:00
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#z508_1"></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#z508_2">release</a> ()=0</td></tr>
2020-02-17 21:17:06 +00:00
2020-02-17 21:19:08 +00:00
<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="#z508_2"></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>
2020-02-17 21:19:08 +00:00
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html#z500_0">DOMXPathNSResolver</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:19:08 +00:00
The <code><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">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">DOMXPathEvaluator</a></code> can construct an implementation of <code><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">DOMXPathNSResolver</a></code> from a node, or the interface may be implemented by any application. <dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
2020-02-17 21:05:20 +00:00
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
2020-02-17 21:19:08 +00:00
<a class="anchor" name="z500_0" doxytag="xercesc::DOMXPathNSResolver::DOMXPathNSResolver"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:08 +00:00
<td class="md" nowrap valign="top">xercesc::DOMXPathNSResolver::DOMXPathNSResolver </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>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:08 +00:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:19:08 +00:00
</td>
</tr>
</table>
<a class="anchor" name="z504_0" doxytag="xercesc::DOMXPathNSResolver::~DOMXPathNSResolver"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:08 +00:00
<td class="md" nowrap valign="top">virtual xercesc::DOMXPathNSResolver::~<a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">DOMXPathNSResolver</a> </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, virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:08 +00:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 21:05:20 +00:00
<p>
Destructor.
<p>
2020-02-17 21:19:08 +00:00
</td>
</tr>
</table>
2020-02-17 21:17:06 +00:00
<hr><h2>Member Function Documentation</h2>
2020-02-17 21:19:08 +00:00
<a class="anchor" name="z508_1" doxytag="xercesc::DOMXPathNSResolver::addNamespaceBinding"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMXPathNSResolver::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>
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:08 +00:00
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [pure virtual]</code></td>
2020-02-17 21:10:06 +00:00
</tr>
</table>
2020-02-17 21:19:08 +00:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 21:10:06 +00:00
<p>
2020-02-17 21:19:08 +00:00
Non-standard extension.
2020-02-17 21:17:06 +00:00
<p>
2020-02-17 21:19:08 +00:00
Associate the given namespace prefix to the namespace URI. <dl compact><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:17:06 +00:00
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 21:19:08 +00:00
<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>
2020-02-17 21:17:06 +00:00
</table>
</dl>
2020-02-17 21:10:06 +00:00
2020-02-17 21:19:08 +00:00
<p>
Implemented in <a class="el" href="classXQillaNSResolver.html#z15_0">XQillaNSResolver</a>. </td>
</tr>
</table>
<a class="anchor" name="z506_0" doxytag="xercesc::DOMXPathNSResolver::lookupNamespaceURI"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:08 +00:00
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMXPathNSResolver::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>
2020-02-17 21:10:06 +00:00
</tr>
</table>
2020-02-17 21:19:08 +00:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 21:10:06 +00:00
<p>
2020-02-17 21:19:08 +00:00
Look up the namespace URI associated to the given namespace prefix.
2020-02-17 21:10:06 +00:00
<p>
2020-02-17 21:19:08 +00:00
<dl compact><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:17:06 +00:00
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 21:19:08 +00:00
<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>
2020-02-17 21:17:06 +00:00
</table>
</dl>
2020-02-17 21:19:08 +00:00
<dl compact><dt><b>Returns:</b></dt><dd>the associated namespace URI or null if none is found. </dd></dl>
2020-02-17 21:10:06 +00:00
2020-02-17 21:19:08 +00:00
<p>
Implemented in <a class="el" href="classXQillaNSResolver.html#z15_1">XQillaNSResolver</a>. </td>
</tr>
</table>
<a class="anchor" name="z508_0" doxytag="xercesc::DOMXPathNSResolver::lookupPrefix"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 21:17:06 +00:00
<tr>
2020-02-17 21:19:08 +00:00
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMXPathNSResolver::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>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:08 +00:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:17:06 +00:00
Non-standard extension.
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:19:08 +00:00
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>
2020-02-17 21:05:20 +00:00
<table border="0" cellspacing="2" cellpadding="0">
2020-02-17 21:19:08 +00:00
<tr><td valign="top"></td><td valign="top"><em>URI</em>&nbsp;</td><td>of type XMLCh - The namespace to look for. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
</dl>
2020-02-17 21:19:08 +00:00
<dl 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>
2020-02-17 21:05:20 +00:00
2020-02-17 21:19:08 +00:00
<p>
Implemented in <a class="el" href="classXQillaNSResolver.html#z15_2">XQillaNSResolver</a>. </td>
</tr>
</table>
<a class="anchor" name="z508_2" doxytag="xercesc::DOMXPathNSResolver::release"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:08 +00:00
<td class="md" nowrap valign="top">virtual void xercesc::DOMXPathNSResolver::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>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:08 +00:00
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:17:06 +00:00
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.
2020-02-17 21:05:20 +00:00
<p>
2020-02-17 21:17:06 +00:00
Access to a released object will lead to unexpected result.
2020-02-17 21:19:08 +00:00
<p>
Implemented in <a class="el" href="classXQillaNSResolver.html#z17_0">XQillaNSResolver</a>. </td>
</tr>
</table>
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="DOMXPathNSResolver_8hpp-source.html">DOMXPathNSResolver.hpp</a></ul>
2020-02-17 21:19:08 +00:00
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:56 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:19:08 +00:00
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
2020-02-17 21:05:20 +00:00
</body>
</html>