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)

    • $name (string)

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

    • $namespaceURI (string)

    • $localName (string)

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

    • $index (integer (long))

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

    • $name (string)

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

    • $namespaceURI (string)

    • $localName (string)

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

    • $arg (Mozilla::DOM::Node)

    what is named about this?

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

    • $arg (Mozilla::DOM::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.