You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.9.1"/> <title>Xerces-C++: DOMNodeList Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Xerces-C++  <span id="projectnumber">3.1.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</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> </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="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="classDOMNodeList-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">DOMNodeList Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents">
<p>The <code><a class="el" href="classDOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code> interface provides the abstraction of an ordered collection of nodes. <a href="classDOMNodeList.html#details">More...</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr> <tr class="memitem:a8018231aa636563948c87543ddc7cc68"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeList.html#a8018231aa636563948c87543ddc7cc68">~DOMNodeList</a> ()</td></tr> <tr class="memdesc:a8018231aa636563948c87543ddc7cc68"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a8018231aa636563948c87543ddc7cc68">More...</a><br /></td></tr> <tr class="separator:a8018231aa636563948c87543ddc7cc68"><td class="memSeparator" colspan="2"> </td></tr> <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr> <tr class="memitem:a41daa56559b89ecf672657b2e576fa95"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMNode.html">DOMNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeList.html#a41daa56559b89ecf672657b2e576fa95">item</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> index) const =0</td></tr> <tr class="memdesc:a41daa56559b89ecf672657b2e576fa95"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>index</code> item in the collection. <a href="#a41daa56559b89ecf672657b2e576fa95">More...</a><br /></td></tr> <tr class="separator:a41daa56559b89ecf672657b2e576fa95"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeList.html#a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2">getLength</a> () const =0</td></tr> <tr class="memdesc:a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of nodes in the list. <a href="#a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2">More...</a><br /></td></tr> <tr class="separator:a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr> <tr class="memitem:a22cfe4e6b2d6060ab56e376df840ba28"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeList.html#a22cfe4e6b2d6060ab56e376df840ba28">DOMNodeList</a> ()</td></tr> <tr class="separator:a22cfe4e6b2d6060ab56e376df840ba28"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>The <code><a class="el" href="classDOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code> interface provides the abstraction of an ordered collection of nodes. </p> <p>DOMNodeLists are created by <a class="el" href="classDOMDocument.html#a4caab53f01e6489e2bc1cf9e96d748bd" title="Returns a DOMNodeList of all the DOMElement(s) with a given tag name in the order in which they are e...">DOMDocument::getElementsByTagName()</a>, <a class="el" href="classDOMNode.html#a28990e120a00edb3cd40cb92be962a5f" title="Gets a DOMNodeList that contains all children of this node. ">DOMNode::getChildNodes()</a>,</p> <p>The items in the <code><a class="el" href="classDOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code> are accessible via an integral index, starting from 0.</p> <p>DOMNodeLists are "live", in that any changes to the document tree are immediately reflected in any DOMNodeLists that may have been created for that tree. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a22cfe4e6b2d6060ab56e376df840ba28"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">DOMNodeList::DOMNodeList </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc">
</div> </div> <a class="anchor" id="a8018231aa636563948c87543ddc7cc68"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual DOMNodeList::~DOMNodeList </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>Destructor. </p>
</div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> DOMNodeList::getLength </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>Returns the number of nodes in the list. </p> <p>The range of valid child node indices is 0 to <code>length-1</code> inclusive. </p><dl class="section since"><dt>Since</dt><dd>DOM Level 1 </dd></dl>
</div> </div> <a class="anchor" id="a41daa56559b89ecf672657b2e576fa95"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMNodeList::item </td> <td>(</td> <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td> <td class="paramname"><em>index</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc">
<p>Returns the <code>index</code> item in the collection. </p> <p>If <code>index</code> is greater than or equal to the number of nodes in the list, this returns <code>null</code>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">index</td><td>Index into the collection. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>The node at the <code>index</code>th position in the <code><a class="el" href="classDOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code>, or <code>null</code> if that is not a valid index. </dd></dl> <dl class="section since"><dt>Since</dt><dd>DOM Level 1 </dd></dl>
</div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="DOMNodeList_8hpp_source.html">DOMNodeList.hpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
|