446 lines
36 KiB
HTML
446 lines
36 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 DOM3 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&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.7.3 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.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 id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespacexercesc.html">xercesc</a> </li>
|
|
<li class="navelem"><a class="el" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a> </li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<h1>xercesc::DOMTreeWalker Class Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="xercesc::DOMTreeWalker" -->
|
|
<p><code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> objects are used to navigate a document tree or subtree using the view of the document defined by their <code>whatToShow</code> flags and filter (if any).
|
|
<a href="#_details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="DOMTreeWalker_8hpp_source.html">DOMTreeWalker.hpp</a>></code></p>
|
|
|
|
<p><a href="classxercesc_1_1DOMTreeWalker-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#ab51bfebb9e997c8c875f1359f7e5f623">~DOMTreeWalker</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ab51bfebb9e997c8c875f1359f7e5f623"></a><br/></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2</div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a6ff1dd3e6d60e113faa36f586c3b3f0f">getRoot</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The <code>root</code> node of the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>, as specified when it was created. <a href="#a6ff1dd3e6d60e113faa36f586c3b3f0f"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNodeFilter.html#a321889e59b1aa23cd84e980cbb415c0c">DOMNodeFilter::ShowType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#ac01a60721bda0947979ed9c9cd4d554c">getWhatToShow</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">This attribute determines which node types are presented via the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>. <a href="#ac01a60721bda0947979ed9c9cd4d554c"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNodeFilter.html">DOMNodeFilter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#aa333058a8b6fe50292d89c73a96ef39d">getFilter</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return The filter used to screen nodes. <a href="#aa333058a8b6fe50292d89c73a96ef39d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#adf04b267f85a44f30c6c50fcd282c77e">getExpandEntityReferences</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The value of this flag determines whether the children of entity reference nodes are visible to the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>. <a href="#adf04b267f85a44f30c6c50fcd282c77e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a959314e6604b77da68bff9502c1128e6">getCurrentNode</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the node at which the <a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a> is currently positioned. <a href="#a959314e6604b77da68bff9502c1128e6"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a6aa32d98ac2f97b52f5933689a487e8e">parentNode</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Moves to and returns the closest visible ancestor node of the current node. <a href="#a6aa32d98ac2f97b52f5933689a487e8e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a6ec15c4ba596a3baf5036d3001c043c4">firstChild</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the first visible child of the current node, and returns the new node. <a href="#a6ec15c4ba596a3baf5036d3001c043c4"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a2916c3fce875d739d94e225858efa9ca">lastChild</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the last visible child of the current node, and returns the new node. <a href="#a2916c3fce875d739d94e225858efa9ca"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a988198bc41847cf1446261bb05790392">previousSibling</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the previous sibling of the current node, and returns the new node. <a href="#a988198bc41847cf1446261bb05790392"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a837454f7d7bca81fcdafc58a0952c269">nextSibling</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the next sibling of the current node, and returns the new node. <a href="#a837454f7d7bca81fcdafc58a0952c269"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a55c9855c731c8de61290d5d1b6e0a585">previousNode</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the previous visible node in document order relative to the current node, and returns the new node. <a href="#a55c9855c731c8de61290d5d1b6e0a585"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#adf667563ce0f68e5273ca737ef94aaa5">nextNode</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the next visible node in document order relative to the current node, and returns the new node. <a href="#adf667563ce0f68e5273ca737ef94aaa5"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a03249f5aaed66f853d2d49283a4aff68">setCurrentNode</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *currentNode)=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The node at which the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> is currently positioned. <a href="#a03249f5aaed66f853d2d49283a4aff68"></a><br/></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#ab7ed6ba1f1167b2d71e80b43943f5296">release</a> ()=0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Called to indicate that this TreeWalker is no longer in use and that the implementation may relinquish any resources associated with it. <a href="#ab7ed6ba1f1167b2d71e80b43943f5296"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#a172d8748dcc449e359e27af795e37206">DOMTreeWalker</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMTreeWalker.html#ac72aa962a41a6500c3a3b28d348ba4e0">DOMTreeWalker</a> (const <a class="el" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a> &)</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p><code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> objects are used to navigate a document tree or subtree using the view of the document defined by their <code>whatToShow</code> flags and filter (if any). </p>
|
|
<p>Any function which performs navigation using a <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> will automatically support any view defined by a <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>. </p>
|
|
<p>Omitting nodes from the logical view of a subtree can result in a structure that is substantially different from the same subtree in the complete, unfiltered document. Nodes that are siblings in the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> view may be children of different, widely separated nodes in the original view. For instance, consider a <code><a class="el" href="classxercesc_1_1DOMNodeFilter.html" title="Filters are objects that know how to "filter out" nodes.">DOMNodeFilter</a></code> that skips all nodes except for <a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> nodes and the root node of a document. In the logical view that results, all text nodes will be siblings and appear as direct children of the root node, no matter how deeply nested the structure of the original document. </p>
|
|
<p>See also the <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113">Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.</p>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
</div><hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a172d8748dcc449e359e27af795e37206"></a><!-- doxytag: member="xercesc::DOMTreeWalker::DOMTreeWalker" ref="a172d8748dcc449e359e27af795e37206" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::DOMTreeWalker::DOMTreeWalker </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac72aa962a41a6500c3a3b28d348ba4e0"></a><!-- doxytag: member="xercesc::DOMTreeWalker::DOMTreeWalker" ref="ac72aa962a41a6500c3a3b28d348ba4e0" args="(const DOMTreeWalker &)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::DOMTreeWalker::DOMTreeWalker </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a> & </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab51bfebb9e997c8c875f1359f7e5f623"></a><!-- doxytag: member="xercesc::DOMTreeWalker::~DOMTreeWalker" ref="ab51bfebb9e997c8c875f1359f7e5f623" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual xercesc::DOMTreeWalker::~DOMTreeWalker </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Destructor. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a6ec15c4ba596a3baf5036d3001c043c4"></a><!-- doxytag: member="xercesc::DOMTreeWalker::firstChild" ref="a6ec15c4ba596a3baf5036d3001c043c4" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMTreeWalker::firstChild </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the first visible child of the current node, and returns the new node. </p>
|
|
<p>If the current node has no visible children, returns <code>null</code>, and retains the current node. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The new node, or <code>null</code> if the current node has no visible children in the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s logical view.</dd></dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a959314e6604b77da68bff9502c1128e6"></a><!-- doxytag: member="xercesc::DOMTreeWalker::getCurrentNode" ref="a959314e6604b77da68bff9502c1128e6" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMTreeWalker::getCurrentNode </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return the node at which the <a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a> is currently positioned. </p>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adf04b267f85a44f30c6c50fcd282c77e"></a><!-- doxytag: member="xercesc::DOMTreeWalker::getExpandEntityReferences" ref="adf04b267f85a44f30c6c50fcd282c77e" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual bool xercesc::DOMTreeWalker::getExpandEntityReferences </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>The value of this flag determines whether the children of entity reference nodes are visible to the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>. </p>
|
|
<p>If false, these children and their descendants will be rejected. Note that this rejection takes precedence over <code>whatToShow</code> and the filter, if any. <br/>
|
|
To produce a view of the document that has entity references expanded and does not expose the entity reference node itself, use the <code>whatToShow</code> flags to hide the entity reference node and set <code>expandEntityReferences</code> to true when creating the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>. To produce a view of the document that has entity reference nodes but no entity expansion, use the <code>whatToShow</code> flags to show the entity reference node and set <code>expandEntityReferences</code> to false.</p>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa333058a8b6fe50292d89c73a96ef39d"></a><!-- doxytag: member="xercesc::DOMTreeWalker::getFilter" ref="aa333058a8b6fe50292d89c73a96ef39d" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNodeFilter.html">DOMNodeFilter</a>* xercesc::DOMTreeWalker::getFilter </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return The filter used to screen nodes. </p>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6ff1dd3e6d60e113faa36f586c3b3f0f"></a><!-- doxytag: member="xercesc::DOMTreeWalker::getRoot" ref="a6ff1dd3e6d60e113faa36f586c3b3f0f" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMTreeWalker::getRoot </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>The <code>root</code> node of the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>, as specified when it was created. </p>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac01a60721bda0947979ed9c9cd4d554c"></a><!-- doxytag: member="xercesc::DOMTreeWalker::getWhatToShow" ref="ac01a60721bda0947979ed9c9cd4d554c" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNodeFilter.html#a321889e59b1aa23cd84e980cbb415c0c">DOMNodeFilter::ShowType</a> xercesc::DOMTreeWalker::getWhatToShow </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>This attribute determines which node types are presented via the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>. </p>
|
|
<p>The available set of constants is defined in the <code><a class="el" href="classxercesc_1_1DOMNodeFilter.html" title="Filters are objects that know how to "filter out" nodes.">DOMNodeFilter</a></code> interface. Nodes not accepted by <code>whatToShow</code> will be skipped, but their children may still be considered. Note that this skip takes precedence over the filter, if any.</p>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2916c3fce875d739d94e225858efa9ca"></a><!-- doxytag: member="xercesc::DOMTreeWalker::lastChild" ref="a2916c3fce875d739d94e225858efa9ca" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMTreeWalker::lastChild </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the last visible child of the current node, and returns the new node. </p>
|
|
<p>If the current node has no visible children, returns <code>null</code>, and retains the current node. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The new node, or <code>null</code> if the current node has no children in the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s logical view.</dd></dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adf667563ce0f68e5273ca737ef94aaa5"></a><!-- doxytag: member="xercesc::DOMTreeWalker::nextNode" ref="adf667563ce0f68e5273ca737ef94aaa5" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMTreeWalker::nextNode </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the next visible node in document order relative to the current node, and returns the new node. </p>
|
|
<p>If the current node has no next node, or if the search for nextNode attempts to step upward from the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s <code>root</code> node, returns <code>null</code>, and retains the current node. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The new node, or <code>null</code> if the current node has no next node in the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s logical view.</dd></dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a837454f7d7bca81fcdafc58a0952c269"></a><!-- doxytag: member="xercesc::DOMTreeWalker::nextSibling" ref="a837454f7d7bca81fcdafc58a0952c269" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMTreeWalker::nextSibling </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the next sibling of the current node, and returns the new node. </p>
|
|
<p>If the current node has no visible next sibling, returns <code>null</code>, and retains the current node. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The new node, or <code>null</code> if the current node has no next sibling. in the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s logical view.</dd></dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6aa32d98ac2f97b52f5933689a487e8e"></a><!-- doxytag: member="xercesc::DOMTreeWalker::parentNode" ref="a6aa32d98ac2f97b52f5933689a487e8e" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMTreeWalker::parentNode </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Moves to and returns the closest visible ancestor node of the current node. </p>
|
|
<p>If the search for <code>parentNode</code> attempts to step upward from the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s <code>root</code> node, or if it fails to find a visible ancestor node, this method retains the current position and returns <code>null</code>. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The new parent node, or <code>null</code> if the current node has no parent in the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s logical view.</dd></dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a55c9855c731c8de61290d5d1b6e0a585"></a><!-- doxytag: member="xercesc::DOMTreeWalker::previousNode" ref="a55c9855c731c8de61290d5d1b6e0a585" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMTreeWalker::previousNode </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the previous visible node in document order relative to the current node, and returns the new node. </p>
|
|
<p>If the current node has no previous node, or if the search for <code>previousNode</code> attempts to step upward from the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s <code>root</code> node, returns <code>null</code>, and retains the current node. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The new node, or <code>null</code> if the current node has no previous node in the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s logical view.</dd></dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a988198bc41847cf1446261bb05790392"></a><!-- doxytag: member="xercesc::DOMTreeWalker::previousSibling" ref="a988198bc41847cf1446261bb05790392" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMTreeWalker::previousSibling </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Moves the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> to the previous sibling of the current node, and returns the new node. </p>
|
|
<p>If the current node has no visible previous sibling, returns <code>null</code>, and retains the current node. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The new node, or <code>null</code> if the current node has no previous sibling. in the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s logical view.</dd></dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab7ed6ba1f1167b2d71e80b43943f5296"></a><!-- doxytag: member="xercesc::DOMTreeWalker::release" ref="ab7ed6ba1f1167b2d71e80b43943f5296" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMTreeWalker::release </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Called to indicate that this TreeWalker is no longer in use and that the implementation may relinquish any resources associated with it. </p>
|
|
<p>Access to a released object will lead to unexpected result. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a03249f5aaed66f853d2d49283a4aff68"></a><!-- doxytag: member="xercesc::DOMTreeWalker::setCurrentNode" ref="a03249f5aaed66f853d2d49283a4aff68" args="(DOMNode *currentNode)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMTreeWalker::setCurrentNode </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> * </td>
|
|
<td class="paramname"><em>currentNode</em></td><td>)</td>
|
|
<td><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>The node at which the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code> is currently positioned. </p>
|
|
<p><br/>
|
|
Alterations to the DOM tree may cause the current node to no longer be accepted by the <code><a class="el" href="classxercesc_1_1DOMTreeWalker.html" title="DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...">DOMTreeWalker</a></code>'s associated filter. <code>currentNode</code> may also be explicitly set to any node, whether or not it is within the subtree specified by the <code>root</code> node or would be accepted by the filter and <code>whatToShow</code> flags. Further traversal occurs relative to <code>currentNode</code> even if it is not part of the current view, by applying the filters in the requested direction; if no traversal is possible, <code>currentNode</code> is not changed. </p>
|
|
<dl><dt><b>Exceptions:</b></dt><dd>
|
|
<table class="exception">
|
|
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>NOT_SUPPORTED_ERR: Raised if an attempt is made to set <code>currentNode</code> to <code>null</code>.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="DOMTreeWalker_8hpp_source.html">DOMTreeWalker.hpp</a></li>
|
|
</ul>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>Generated on Mon Oct 31 2011 19:08:37 for XQilla DOM Level 3 API by 
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
|
|
</body>
|
|
</html>
|