Package pyxb :: Package binding :: Module content :: Class _PluralBinding
[hide private]
[frames] | no frames]

Class _PluralBinding

source code

       object --+            
                |            
    _abcoll.Sized --+        
                    |        
       object --+   |        
                |   |        
 _abcoll.Iterable --+        
                    |        
       object --+   |        
                |   |        
_abcoll.Container --+        
                    |        
     _abcoll.Sequence --+    
                        |    
  _abcoll.MutableSequence --+
                            |
                           _PluralBinding

Helper for element content that supports multiple occurences.

This is an adapter for Python list. Any operation that can mutate an item in the list ensures the stored value is compatible with the element for which the list holds values.

Nested Classes [hide private]

Inherited from _abcoll.Sized: __metaclass__

Instance Methods [hide private]
 
__init__(self, *args, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__convert(self, v) source code
 
__len__(self) source code
 
__getitem__(self, key) source code
 
__setitem__(self, key, value) source code
 
__delitem__(self, key) source code
 
__iter__(self) source code
 
__reversed__(self) source code
 
__contains__(self, item) source code
 
append(self, x) source code
 
extend(self, x) source code
 
count(self, x) source code
 
index(self, x, i=0, j=-1) source code
 
insert(self, i, x) source code
 
pop(self, i=-1) source code
 
remove(self, x) source code
 
reverse(self) source code
 
sort(self, cmp=None, key=None, reverse=False) source code
 
__str__(self)
str(x)
source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__le__(self, other) source code
 
__ge__(self, other) source code
 
__lt__(self, other) source code
 
__gt__(self, other) source code
 
_PluralBinding__convert(self, v) source code

Inherited from _abcoll.MutableSequence: __iadd__

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

Class Methods [hide private]

Inherited from _abcoll.Sized: __subclasshook__

Class Variables [hide private]
  __list = None
hash(x)
  __elementBinding = None
hash(x)
  _PluralBinding__elementBinding = None
hash(x)
  _PluralBinding__list = None
hash(x)
  __abstractmethods__ = frozenset([])
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x1ed4fd0>
  _abc_negative_cache_version = 10
  _abc_registry = <_weakrefset.WeakSet object at 0x211b250>

Inherited from _abcoll.Sized (private): _abc_cache

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__len__(self)
(Length operator)

source code 
Overrides: _abcoll.Sized.__len__

__getitem__(self, key)
(Indexing operator)

source code 
Overrides: _abcoll.Sequence.__getitem__

__setitem__(self, key, value)
(Index assignment operator)

source code 
Overrides: _abcoll.MutableSequence.__setitem__

__delitem__(self, key)
(Index deletion operator)

source code 
Overrides: _abcoll.MutableSequence.__delitem__

__iter__(self)

source code 
Overrides: _abcoll.Iterable.__iter__

__reversed__(self)

source code 
Overrides: _abcoll.Sequence.__reversed__

__contains__(self, item)
(In operator)

source code 
Overrides: _abcoll.Container.__contains__

append(self, x)

source code 
Overrides: _abcoll.MutableSequence.append

extend(self, x)

source code 
Overrides: _abcoll.MutableSequence.extend

count(self, x)

source code 
Overrides: _abcoll.Sequence.count

index(self, x, i=0, j=-1)

source code 
Overrides: _abcoll.Sequence.index

insert(self, i, x)

source code 
Overrides: _abcoll.MutableSequence.insert

pop(self, i=-1)

source code 
Overrides: _abcoll.MutableSequence.pop

remove(self, x)

source code 
Overrides: _abcoll.MutableSequence.remove

reverse(self)

source code 
Overrides: _abcoll.MutableSequence.reverse

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)