Table of Contents

Class: NamedNodeMap ../HappyDoc-r2_1/happydoclib/docstring/StructuredText/STDOM.py

NamedNodeMap interface - Is used to represent collections of nodes that can be accessed by name. NamedNodeMaps are not maintained in any particular order.

Python extensions: can use sequence-style len, getitem, and for..in constructs, and mapping-style getitem.

Methods   
__getitem__
__init__
_get_Length
_get_NamedItem
getLength
getNamedItem
item
  __getitem__ 
__getitem__ ( self,  key )

  __init__ 
__init__ ( self,  data=None )

  _get_Length 
_get_Length ( self )

  _get_NamedItem 
_get_NamedItem ( self,  name )

  getLength 
getLength ( self )

The length of the NodeList

  getNamedItem 
getNamedItem ( self,  name )

Retrieves a node specified by name. Parameters: name Name of a node to retrieve. Return Value A Node (of any type) with the specified name, or None if the specified name did not identify any node in the map.

  item 
item ( self,  index )

Returns the index-th item in the map


Table of Contents

This document was automatically generated on Sat Aug 24 16:57:29 2002 by HappyDoc version 2.1