<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD> <BODY> <h2 align="center">Xalan-C++ API Documentation</h2> <h3 align="center">The Xalan C++ XSLT Processor Version 1.4</h3> </BODY> <!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:34:05 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>XalanNodeList Class Reference</h1><code>#include <<a class="el" href="XalanNodeList.hpp-source.html">XalanNodeList.hpp</a>></code> <p> <p>Inheritance diagram for XalanNodeList: <p><center><img src="class_xalannodelist.gif" usemap="#XalanNodeList_map" border="0"></center> <map name="XalanNodeList_map"><p> <area href="class_nodelistimplsurrogate.html" alt="NodeListImplSurrogate" shape="rect" coords="0,56,206,80"> <area href="class_resulttreefrag.html" alt="ResultTreeFrag" shape="rect" coords="216,56,422,80"> <area href="class_xalannodelistdummy.html" alt="XalanNodeListDummy" shape="rect" coords="432,56,638,80"> <area href="class_xalannodelistsurrogate.html" alt="XalanNodeListSurrogate" shape="rect" coords="648,56,854,80"> <area href="class_xercesnodelistbridge.html" alt="XercesNodeListBridge" shape="rect" coords="864,56,1070,80"> <area href="class_xobjectresulttreefragproxybase.html" alt="XObjectResultTreeFragProxyBase" shape="rect" coords="1080,56,1286,80"> <area href="class_xnodesetresulttreefragproxy.html" alt="XNodeSetResultTreeFragProxy" shape="rect" coords="972,112,1178,136"> <area href="class_xobjectresulttreefragproxy.html" alt="XObjectResultTreeFragProxy" shape="rect" coords="1188,112,1394,136"> </map> <a href="class_xalannodelist-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li><a class="el" href="class_xalannodelist.html#a0">XalanNodeList</a> () <li>virtual <a class="el" href="class_xalannodelist.html#a1">~XalanNodeList</a> () <li>virtual <a class="el" href="class_xalannode.html">XalanNode</a>* <a class="el" href="class_xalannodelist.html#a2">item</a> (unsigned int index) const = 0 <dl class="el"><dd><font size=-1><em>Returns the <code>index</code>th item in the collection.</em> <a href="#a2">More...</a><em></em></font></dl><li>virtual unsigned int <a class="el" href="class_xalannodelist.html#a3">getLength</a> () const = 0 <dl class="el"><dd><font size=-1><em>Returns the number of nodes in the list.</em> <a href="#a3">More...</a><em></em></font></dl></ul> <h2>Protected Methods</h2> <ul> <li><a class="el" href="class_xalannodelist.html#b0">XalanNodeList</a> (const XalanNodeList& theSource) <li>XalanNodeList& <a class="el" href="class_xalannodelist.html#b1">operator=</a> (const XalanNodeList& theSource) <li>bool <a class="el" href="class_xalannodelist.html#b2">operator==</a> (const XalanNodeList& theRHS) const </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="XalanNodeList::XalanNodeList"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> XalanNodeList::XalanNodeList ()</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="a1" doxytag="XalanNodeList::~XalanNodeList"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> virtual XalanNodeList::~XalanNodeList ()<code> [virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b0" doxytag="XalanNodeList::XalanNodeList"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> XalanNodeList::XalanNodeList ( </b></td> <td><b> const XalanNodeList & <em>theSource</em>)<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Member Function Documentation</h2> <a name="a3" doxytag="XalanNodeList::getLength"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> unsigned int XalanNodeList::getLength () const<code> [pure virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <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. <p> Reimplemented in <a class="el" href="class_nodelistimplsurrogate.html#a3">NodeListImplSurrogate</a>, <a class="el" href="class_xalannodelistdummy.html#a4">XalanNodeListDummy</a>, <a class="el" href="class_xalannodelistsurrogate.html#a6">XalanNodeListSurrogate</a>, and <a class="el" href="class_xercesnodelistbridge.html#a5">XercesNodeListBridge</a>.</div> <a name="a2" doxytag="XalanNodeList::item"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> <a class="el" href="class_xalannode.html">XalanNode</a> * XalanNodeList::item ( </b></td> <td><b> unsigned int <em>index</em>) const<code> [pure virtual]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Returns the <code>index</code>th 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><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>index</em> </td><td> Index into the collection. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> The node at the <code>index</code>th position in the <code>NodeList</code>, or <code>null</code> if that is not a valid index. </dl> <p> Reimplemented in <a class="el" href="class_nodelistimplsurrogate.html#a2">NodeListImplSurrogate</a>, <a class="el" href="class_xalannodelistdummy.html#a3">XalanNodeListDummy</a>, <a class="el" href="class_xalannodelistsurrogate.html#a5">XalanNodeListSurrogate</a>, and <a class="el" href="class_xercesnodelistbridge.html#a4">XercesNodeListBridge</a>.</div> <a name="b1" doxytag="XalanNodeList::operator="><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> XalanNodeList& XalanNodeList::operator= ( </b></td> <td><b> const XalanNodeList & <em>theSource</em>)<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="b2" doxytag="XalanNodeList::operator=="><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool XalanNodeList::operator== ( </b></td> <td><b> const XalanNodeList & <em>theRHS</em>) const<code> [protected]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XalanNodeList.hpp.html">XalanNodeList.hpp</a></ul> <p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p> <p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> <i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and <A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p> <TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR></TABLE> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%"> <TR> <TD WIDTH="80%" VALIGN="TOP"> <P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version 1.4</B><BR> Copyright © 2000, 2001, 2002 The Apache Software Foundation. All Rights Reserved.</i></p> </TD> </TR> <TR> <TD WIDTH="100%"> <P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0"> </TD> </TR> </TABLE>