=head1 NAME

Mozilla::DOM::HTMLCollection

=for object Mozilla::DOM::HTMLCollection

Mozilla::DOM::HTMLCollection is a wrapper around an instance of Mozilla's
nsIDOMHTMLCollection interface. This class inherits from
L<nsISupports|Mozilla::DOM::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

=head1 CLASS METHODS

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

Pass this to QueryInterface.

=head1 METHODS

=head2 $length = $htmlcollection->B<GetLength>()

=head2 $retval = $htmlcollection->B<Item>($index)

This returns a L<Mozilla::DOM::Node|Mozilla::DOM::Node>.

=over

=over

=item * $index (integer (long))

=back

=back

=head2 $retval = $htmlcollection->B<NamedItem>($name)

=over

=over

=item * $name (string)

=back

=back

=head1 SEE ALSO

L<Mozilla::DOM>

=head1 COPYRIGHT

Copyright (C) 2005-2007, Scott Lanning

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

=cut

