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

Class XMLSelection

source code

object --+    
         |    
 Selection --+
             |
            XMLSelection

A Selection created by reading an XML selections document.

Instance Methods
 
__init__(self, dependencies, bindings=None, attrs=None, digests=None, commands=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
Command
get_command(self, name) source code
{str: Command}
get_commands(self) source code

Inherited from Selection: __repr__, get_path, is_available, local_path

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

Class Variables

Inherited from Selection: feed, id, interface, main

Instance Variables
[str] digests
a list of manifest digests

Inherited from Selection: attrs, dependencies, version

Properties

Inherited from object: __class__

Method Details

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

source code 

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

Parameters:
Overrides: object.__init__

get_command(self, name)

source code 
Parameters:
  • name (str)
Returns: Command