Table of Contents

Class: NamedNodeMap Zope-2.2.1-src/lib/python/OFS/ZDOM.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__
getLength
getNamedItem
item
  __getitem__ 
__getitem__ ( self,  key )

  __init__ 
__init__ ( self,  data=None )

  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 Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6