XQuilla/docs/simple-api/classxercesc_1_1DOMXPathNSResolver.html
2020-02-17 22:12:51 +01:00

192 lines
9.2 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 Simple 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.1 -->
<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>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">DOMXPathNSResolver</a></div>
<h1>xercesc::DOMXPathNSResolver Class Reference</h1><!-- doxytag: class="xercesc::DOMXPathNSResolver" -->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.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMXPathNSResolver_8hpp-source.html">DOMXPathNSResolver.hpp</a>&gt;</code>
<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">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#918856006560716c989e20d3d35e18ab">lookupPrefix</a> (const XMLCh *URI) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#918856006560716c989e20d3d35e18ab"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
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>DOMXPathEvaluator</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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<p>
<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>
<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>
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 class="return" compact><dt><b>Returns:</b></dt><dd>the associated namespace URI or null if none is found. </dd></dl>
</div>
</div><p>
<a class="anchor" name="918856006560716c989e20d3d35e18ab"></a><!-- doxytag: member="xercesc::DOMXPathNSResolver::lookupPrefix" ref="918856006560716c989e20d3d35e18ab" 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 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 class="return" compact><dt><b>Returns:</b></dt><dd>the associated prefix or null if none is found. </dd></dl>
</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>
<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 12 20:17:02 2007 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>