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" >
< title > XQilla DOM Level 3 API: xercesc::DOMNodeList Class Reference< / title >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
2020-02-17 21:10:06 +00:00
<!-- Generated by Doxygen 1.5.1 -->
2020-02-17 21:05:20 +00:00
< div class = "tabs" >
< ul >
< li > < a href = "index.html" > < span > Main 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 List< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Class List< / 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 class = "nav" >
< a class = "el" href = "namespacexercesc.html" > xercesc< / a > ::< a class = "el" href = "classxercesc_1_1DOMNodeList.html" > DOMNodeList< / a > < / div >
< h1 > xercesc::DOMNodeList Class Reference< / h1 > <!-- doxytag: class="xercesc::DOMNodeList" --> The < code > < a class = "el" href = "classxercesc_1_1DOMNodeList.html" > DOMNodeList< / a > < / code > interface provides the abstraction of an ordered collection of nodes.
< a href = "#_details" > More...< / a >
< p >
< code > #include < < a class = "el" href = "DOMNodeList_8hpp-source.html" > DOMNodeList.hpp< / a > > < / code >
< p >
< a href = "classxercesc_1_1DOMNodeList-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 1< / div > < / td > < / tr >
2020-02-17 21:10:06 +00:00
< tr > < td class = "memItemLeft" nowrap 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_1DOMNodeList.html#b6255ce0da052070672c96a2e6237fe4" > item< / a > (XMLSize_t index) const=0< / td > < / tr >
2020-02-17 21:05:20 +00:00
2020-02-17 21:10:06 +00:00
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Returns the < code > index< / code > item in the collection. < a href = "#b6255ce0da052070672c96a2e6237fe4" > < / a > < br > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > virtual XMLSize_t < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classxercesc_1_1DOMNodeList.html#4619e2efc506595a87e7b308dc443ce6" > getLength< / a > () const=0< / td > < / tr >
2020-02-17 21:05:20 +00:00
2020-02-17 21:10:06 +00:00
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Returns the number of nodes in the list. < a href = "#4619e2efc506595a87e7b308dc443ce6" > < / a > < br > < / td > < / tr >
2020-02-17 21:05:20 +00:00
< / table >
< hr > < a name = "_details" > < / a > < h2 > Detailed Description< / h2 >
The < code > < a class = "el" href = "classxercesc_1_1DOMNodeList.html" > DOMNodeList< / a > < / code > interface provides the abstraction of an ordered collection of nodes.
< p >
2020-02-17 21:10:06 +00:00
DOMNodeLists are created by < a class = "el" href = "classxercesc_1_1DOMDocument.html#af893c3414d8c80270a31e5079bb6912" > DOMDocument::getElementsByTagName()< / a > , < a class = "el" href = "classxercesc_1_1DOMNode.html#705593d2273ff592ef800f1bba35be47" > DOMNode::getChildNodes()< / a > ,< p >
2020-02-17 21:05:20 +00:00
The items in the < code > < a class = "el" href = "classxercesc_1_1DOMNodeList.html" > DOMNodeList< / a > < / code > are accessible via an integral index, starting from 0.< 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 >
< hr > < h2 > Constructor & Destructor Documentation< / h2 >
2020-02-17 21:10:06 +00:00
< a class = "anchor" name = "2f003459defa460fcdb98a2e6ed3372a" > < / a > <!-- doxytag: member="xercesc::DOMNodeList::DOMNodeList" ref="2f003459defa460fcdb98a2e6ed3372a" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > xercesc::DOMNodeList::DOMNodeList < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td width = "100%" > < code > [inline, protected]< / code > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
< a class = "anchor" name = "ff0ee902aa9926da91956f2a3d7da05a" > < / a > <!-- doxytag: member="xercesc::DOMNodeList::~DOMNodeList" ref="ff0ee902aa9926da91956f2a3d7da05a" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > virtual xercesc::DOMNodeList::~DOMNodeList < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td width = "100%" > < code > [inline, virtual]< / code > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
Destructor.
< p >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
< a class = "anchor" name = "2f003459defa460fcdb98a2e6ed3372a" > < / a > <!-- doxytag: member="xercesc::DOMNodeList::DOMNodeList" ref="2f003459defa460fcdb98a2e6ed3372a" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > xercesc::DOMNodeList::DOMNodeList < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td width = "100%" > < code > [inline, protected]< / code > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
2020-02-17 21:10:06 +00:00
< / div >
< / div > < p >
< a class = "anchor" name = "ff0ee902aa9926da91956f2a3d7da05a" > < / a > <!-- doxytag: member="xercesc::DOMNodeList::~DOMNodeList" ref="ff0ee902aa9926da91956f2a3d7da05a" args="()" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > virtual xercesc::DOMNodeList::~DOMNodeList < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td width = "100%" > < code > [inline, virtual]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
2020-02-17 21:10:06 +00:00
Destructor.
< p >
< / div >
< / div > < p >
< hr > < h2 > Member Function Documentation< / h2 >
< a class = "anchor" name = "b6255ce0da052070672c96a2e6237fe4" > < / a > <!-- doxytag: member="xercesc::DOMNodeList::item" ref="b6255ce0da052070672c96a2e6237fe4" args="(XMLSize_t index) const=0" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2020-02-17 21:05:20 +00:00
< tr >
2020-02-17 21:10:06 +00:00
< td class = "memname" > virtual < a class = "el" href = "classxercesc_1_1DOMNode.html" > DOMNode< / a > * xercesc::DOMNodeList::item < / td >
< td > (< / td >
< td class = "paramtype" > XMLSize_t < / td >
< td class = "paramname" > < em > index< / em > < / td >
< td > ) < / td >
< td width = "100%" > const< code > [pure virtual]< / code > < / td >
2020-02-17 21:05:20 +00:00
< / tr >
< / table >
2020-02-17 21:10:06 +00:00
< / div >
< div class = "memdoc" >
2020-02-17 21:05:20 +00:00
< p >
Returns the < code > index< / code > item in the collection.
< 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 compact > < dt > < b > Parameters:< / b > < / dt > < dd >
< table border = "0" cellspacing = "2" cellpadding = "0" >
< tr > < td valign = "top" > < / td > < td valign = "top" > < em > index< / em > < / td > < td > Index into the collection. < / td > < / tr >
< / table >
< / dl >
2020-02-17 21:10:06 +00:00
< dl class = "return" compact > < dt > < b > Returns:< / b > < / dt > < dd > The node at the < code > index< / code > th position in the < code > < a class = "el" href = "classxercesc_1_1DOMNodeList.html" > DOMNodeList< / a > < / code > , or < code > null< / code > if that is not a valid index. < / dd > < / dl >
< dl class = "since" compact > < dt > < b > Since:< / b > < / dt > < dd > DOM Level 1 < / dd > < / dl >
< / div >
< / div > < p >
< a class = "anchor" name = "4619e2efc506595a87e7b308dc443ce6" > < / a > <!-- doxytag: member="xercesc::DOMNodeList::getLength" ref="4619e2efc506595a87e7b308dc443ce6" args="() const=0" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > virtual XMLSize_t xercesc::DOMNodeList::getLength < / td >
< td > (< / td >
< td class = "paramname" > < / td >
< td > ) < / td >
< td width = "100%" > const< code > [pure virtual]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p >
Returns the number of nodes in the list.
< p >
The range of valid child node indices is 0 to < code > length-1< / code > inclusive. < dl class = "since" compact > < dt > < b > Since:< / b > < / dt > < dd > DOM Level 1 < / dd > < / dl >
< / div >
< / div > < p >
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 = "DOMNodeList_8hpp-source.html" > DOMNodeList.hpp< / a > < / ul >
2020-02-17 21:10:06 +00:00
< hr size = "1" > < address style = "align: right;" > < small > Generated on Wed Dec 12 19:14:17 2007 for XQilla DOM Level 3 API by
2020-02-17 21:05:20 +00:00
< a href = "http://www.doxygen.org/index.html" >
2020-02-17 21:10:06 +00:00
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = "0" > < / a > 1.5.1 < / small > < / address >
2020-02-17 21:05:20 +00:00
< / body >
< / html >