Package zeroinstall :: Package injector :: Module model :: Class ZeroInstallFeed
[frames] | no frames]

Class ZeroInstallFeed

source code

object --+
         |
        ZeroInstallFeed

A feed lists available implementations of an interface.

Instance Methods
 
__init__(self, feed_element, local_path=None, distro=None)
Create a feed object from a DOM.
source code
 
get_name(self) source code
 
__repr__(self)
repr(x)
source code
 
set_stability_policy(self, new) source code
 
get_feed(self, url) source code
 
add_metadata(self, elem) source code
 
get_metadata(self, uri, name)
Return a list of interface metadata elements with this name and namespace URI.
source code

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

Instance Variables
  description
long textual description
set(str) feed_for
interfaces for which this could be a feed
[Feed] feeds
list of <feed> elements in this feed
{str: Implementation} implementations
Implementations in this feed, indexed by ID
  last_checked
time feed was last successfully downloaded and updated
  last_modified
timestamp on signature
  metadata
extra elements we didn't understand
  name
human-friendly name
  summary
short textual description
  url
the URL for this feed
Properties

Inherited from object: __class__

Method Details

__init__(self, feed_element, local_path=None, distro=None)
(Constructor)

source code 

Create a feed object from a DOM.

Parameters:
  • feed_element (qdom.Element) - the root element of a feed file
  • local_path - the pathname of this local feed, or None for remote feeds
  • distro (distro.Distribution or None) - used to resolve distribution package references
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)