Package xml :: Package dom :: Module minidom :: Class NamedNodeMap
[hide private]
[frames] | no frames]

type NamedNodeMap

object --+
         |
        NamedNodeMap

The attribute list is a transient interface to the underlying dictionaries. Mutations here will change the underlying element's dictionary.

Ordering is imposed artificially and does not reflect the order of attributes as found in an input document.

Instance Methods [hide private]
 
__init__(self, attrs, attrsNS, ownerElement)
 
_get_length(self)
 
item(self, index)
 
items(self)
 
itemsNS(self)
 
has_key(self, key)
 
keys(self)
 
keysNS(self)
 
values(self)
 
get(self, name, value=None)
 
__len__(self)
 
__cmp__(self, other)
 
__getitem__(self, attname_or_tuple)
 
__setitem__(self, attname, value)
 
getNamedItem(self, name)
 
getNamedItemNS(self, namespaceURI, localName)
 
removeNamedItem(self, name)
 
removeNamedItemNS(self, namespaceURI, localName)
 
setNamedItem(self, node)
 
setNamedItemNS(self, node)
 
__delitem__(self, attname_or_tuple)
 
__getstate__(self)
 
__setstate__(self, state)
Properties [hide private]
  _attrs
  _attrsNS
  _ownerElement
  length
Number of nodes in the NamedNodeMap.
Method Details [hide private]

__init__(self, attrs, attrsNS, ownerElement)
(Constructor)

 
Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

length

Number of nodes in the NamedNodeMap.

Get Method:
_get_length(self)