Scott Lanning > Mozilla-DOM-0.23 > Mozilla::DOM::HTMLCollection

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

NAME ^

Mozilla::DOM::HTMLCollection

Mozilla::DOM::HTMLCollection is a wrapper around an instance of Mozilla's nsIDOMHTMLCollection interface. This class inherits from nsISupports.

 * The nsIDOMHTMLCollection interface is an interface to a collection
 * of [X]HTML elements.
 *
 * For more information on this interface please see
 * http://www.w3.org/TR/DOM-Level-2-HTML/
 *
 * @status FROZEN

CLASS METHODS ^

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

Pass this to QueryInterface.

METHODS ^

$length = $htmlcollection->GetLength()

$retval = $htmlcollection->Item($index)

This returns a Mozilla::DOM::Node.

$retval = $htmlcollection->NamedItem($name)

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.

syntax highlighting: