Package zeroinstall :: Package injector :: Module selections :: Class Selection
[frames] | no frames]

Class Selection

source code

object --+
         |
        Selection

A single selected implementation in a Selections set.

Instance Methods
 
__init__(self, dependencies, bindings=None, attrs=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self)
repr(x)
source code

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

Class Variables
  interface = property(lambda self: self.attrs ['interface'])
  id = property(lambda self: self.attrs ['id'])
  feed = property(lambda self: self.attrs.get('from-feed', self....
  main = property(lambda self: self.attrs.get('main', None))
Instance Variables
str version = property(lambda self: self.attrs ['version'])
the implementation's version number
{str: str} attrs
XML attributes map (name is in the format "{namespace} {localName}")
[model.Dependency] dependencies
list of dependencies
Properties

Inherited from object: __class__

Method Details

__init__(self, dependencies, bindings=None, attrs=None)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Class Variable Details

feed

Value:
property(lambda self: self.attrs.get('from-feed', self.interface))