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

Class 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)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
_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)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]
  _attrs
  _attrsNS
  _ownerElement
  length
Number of nodes in the NamedNodeMap.

Inherited from object: __class__

Method Details [hide private]

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

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

length

Number of nodes in the NamedNodeMap.

Get Method:
_get_length(self)
Set Method:
unreachable.set(self, value, name='length')