Back to index

python3.2  3.2.2
Public Member Functions | Properties | Private Member Functions | Static Private Attributes
xml.dom.minicompat.NodeList Class Reference

List of all members.

Public Member Functions

def item
def __getstate__
def __setstate__

Properties

 length

Private Member Functions

def _get_length
def _set_length

Static Private Attributes

tuple __slots__ = ()

Detailed Description

Definition at line 46 of file minicompat.py.


Member Function Documentation

Definition at line 63 of file minicompat.py.

00063 
00064     def __getstate__(self):
00065         return list(self)

def xml.dom.minicompat.NodeList.__setstate__ (   self,
  state 
)

Definition at line 66 of file minicompat.py.

00066 
00067     def __setstate__(self, state):
00068         self[:] = state
00069 

def xml.dom.minicompat.NodeList._get_length (   self) [private]

Definition at line 53 of file minicompat.py.

00053 
00054     def _get_length(self):
00055         return len(self)

def xml.dom.minicompat.NodeList._set_length (   self,
  value 
) [private]

Definition at line 56 of file minicompat.py.

00056 
00057     def _set_length(self, value):
00058         raise xml.dom.NoModificationAllowedErr(
00059             "attempt to modify read-only attribute 'length'")

def xml.dom.minicompat.NodeList.item (   self,
  index 
)

Definition at line 49 of file minicompat.py.

00049 
00050     def item(self, index):
00051         if 0 <= index < len(self):
00052             return self[index]


Member Data Documentation

tuple xml.dom.minicompat.NodeList.__slots__ = () [static, private]

Definition at line 47 of file minicompat.py.


Property Documentation

Initial value:
property(_get_length, _set_length,
                      doc="The number of nodes in the NodeList.")

Definition at line 60 of file minicompat.py.


The documentation for this class was generated from the following file: