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

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

NAME ^

Mozilla::DOM::NamedNodeMap

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

 * Objects implementing the nsIDOMNamedNodeMap interface are used to 
 * represent collections of nodes that can be accessed by name.
 *
 * For more information on this interface please see 
 * http://www.w3.org/TR/DOM-Level-2-Core/

CLASS METHODS ^

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

Pass this to QueryInterface.

METHODS ^

$len = $namednodemap->GetLength()

$node = $namednodemap->GetNamedItem($name)

$node = $namednodemap->GetNamedItemNS($namespaceURI, $localName)

$node = $namednodemap->Item(PRUint32 index)

$node = $namednodemap->RemoveNamedItem($name)

$node = $namednodemap->RemoveNamedItemNS($namespaceURI, $localName)

$node = $namednodemap->SetNamedItem($node)

what is named about this?

$node = $namednodemap->SetNamedItemNS($node)

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: