Scott Lanning

NAME

Mozilla::DOM::NodeList

DESCRIPTION

Mozilla::DOM::NodeList is a wrapper around an instance of Mozilla's nsIDOMNodeList interface. This class inherits from Supports.

 * The nsIDOMNodeList interface provides the abstraction of an ordered
 * collection of nodes, without defining or constraining how this collection
 * is implemented.
 * The items in the list are accessible via an integral index, starting from 0.
 *
 * For more information on this interface please see
 * L<http:E<sol>E<sol>www.w3.orgE<sol>TRE<sol>DOM-Level-2-CoreE<sol>>

CLASS METHODS

$iid = Mozilla::DOM::NodeList->GetIID()

Pass this to QueryInterface.

METHODS

$nodelist->GetLength()

$node = $nodelist->Item($index)

    • $index (integer (long))

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.