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

183 lines
11 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: xercesc::DOMXPathNamespace 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>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMXPathNamespace.html">DOMXPathNamespace</a></div>
<h1>xercesc::DOMXPathNamespace Class Reference</h1><!-- doxytag: class="xercesc::DOMXPathNamespace" --><!-- doxytag: inherits="xercesc::DOMNode" -->The <code><a class="el" href="classxercesc_1_1DOMXPathNamespace.html">DOMXPathNamespace</a></code> interface is returned by <code><a class="el" href="classxercesc_1_1DOMXPathResult.html">DOMXPathResult</a></code> interfaces to represent the XPath namespace node type that DOM lacks.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMXPathNamespace_8hpp-source.html">DOMXPathNamespace.hpp</a>&gt;</code>
<p>
Inheritance diagram for xercesc::DOMXPathNamespace:<p><center><img src="classxercesc_1_1DOMXPathNamespace__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMXPathNamespace__inherit__map" alt="Inheritance graph"></center>
<map name="xercesc_1_1DOMXPathNamespace__inherit__map">
<area href="classxercesc_1_1DOMNode.html" shape="rect" coords="45,9,183,33" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxercesc_1_1DOMXPathNamespace-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNamespace.html#71f22035199ebfedcc0568ee852f3aed">XPathNodeType</a> { <a class="el" href="classxercesc_1_1DOMXPathNamespace.html#71f22035199ebfedcc0568ee852f3aed3b8a037e4d698b7041d85cfdda6eb88a">XPATH_NAMESPACE_NODE</a> = 13
}</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_1DOMXPathNamespace.html#1cf8871b3c29d4057ac2ceea882ea4f2">~DOMXPathNamespace</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#1cf8871b3c29d4057ac2ceea882ea4f2"></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 <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMXPathNamespace.html#d8e5e0606f782a12d7503a06fd8ba036">getOwnerElement</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <code><a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a></code> on which the namespace was in scope when it was requested. <a href="#d8e5e0606f782a12d7503a06fd8ba036"></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_1DOMXPathNamespace.html#e8497911266531e8146f099e856f4b4c">DOMXPathNamespace</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <code><a class="el" href="classxercesc_1_1DOMXPathNamespace.html">DOMXPathNamespace</a></code> interface is returned by <code><a class="el" href="classxercesc_1_1DOMXPathResult.html">DOMXPathResult</a></code> interfaces to represent the XPath namespace node type that DOM lacks.
<p>
There is no public constructor for this node type. Attempts to place it into a hierarchy or a NamedNodeMap result in a <a class="el" href="classxercesc_1_1DOMException.html">DOMException</a> with the code HIERARCHY_REQUEST_ERR. This node is read only, so methods or setting of attributes that would mutate the node result in a <code><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></code> with the code NO_MODIFICATION_ALLOWED_ERR. The core specification describes attributes of the <code><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a></code> interface that are different for different node types but does not describe XPATH_NAMESPACE_NODE, so here is a description of those attributes for this node type. All attributes of <code><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a></code> not described in this section have a null or false value. ownerDocument matches the ownerDocument of the ownerElement even if the element is later adopted. nodeName is always the string "#namespace". prefix is the prefix of the namespace represented by the node. localName is the same as prefix. nodeType is equal to XPATH_NAMESPACE_NODE. namespaceURI is the namespace URI of the namespace represented by the node. nodeValue is the same as namespaceURI. adoptNode, cloneNode, and importNode fail on this node type by raising a <a class="el" href="classxercesc_1_1DOMException.html">DOMException</a> with the code NOT_SUPPORTED_ERR. Note: In future versions of the XPath specification, the definition of a namespace node may be changed incomatibly, in which case incompatible changes to field values may be required to implement versions beyond XPath 1.0. <dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="71f22035199ebfedcc0568ee852f3aed"></a><!-- doxytag: member="xercesc::DOMXPathNamespace::XPathNodeType" ref="71f22035199ebfedcc0568ee852f3aed" 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">enum <a class="el" href="classxercesc_1_1DOMXPathNamespace.html#71f22035199ebfedcc0568ee852f3aed">xercesc::DOMXPathNamespace::XPathNodeType</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="71f22035199ebfedcc0568ee852f3aed3b8a037e4d698b7041d85cfdda6eb88a"></a><!-- doxytag: member="XPATH_NAMESPACE_NODE" ref="71f22035199ebfedcc0568ee852f3aed3b8a037e4d698b7041d85cfdda6eb88a" args="" -->XPATH_NAMESPACE_NODE</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="e8497911266531e8146f099e856f4b4c"></a><!-- doxytag: member="xercesc::DOMXPathNamespace::DOMXPathNamespace" ref="e8497911266531e8146f099e856f4b4c" 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">xercesc::DOMXPathNamespace::DOMXPathNamespace </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>
<a class="anchor" name="1cf8871b3c29d4057ac2ceea882ea4f2"></a><!-- doxytag: member="xercesc::DOMXPathNamespace::~DOMXPathNamespace" ref="1cf8871b3c29d4057ac2ceea882ea4f2" 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">virtual xercesc::DOMXPathNamespace::~DOMXPathNamespace </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>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor.
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d8e5e0606f782a12d7503a06fd8ba036"></a><!-- doxytag: member="xercesc::DOMXPathNamespace::getOwnerElement" ref="d8e5e0606f782a12d7503a06fd8ba036" args="() 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 <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a>* xercesc::DOMXPathNamespace::getOwnerElement </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> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The <code><a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a></code> on which the namespace was in scope when it was requested.
<p>
This does not change on a returned namespace node even if the document changes such that the namespace goes out of scope on that element and this node is no longer found there by XPath. <dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMXPathNamespace_8hpp-source.html">DOMXPathNamespace.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:19:03 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>