Package swaml :: Package classes :: Module subscribers :: Class Subscribers
[show private | hide private]
[frames | no frames]

Class Subscribers


Class to abstract the subscribers management
Method Summary
  __init__(self, config)
Constructor method
  add(self, msg)
Add a new subscriber
  export(self)
Export subscribers information into multiple formats (RDF and KML)
  get(self, mail)
Get subscriber
  getSubscribersUris(self)
Get a list of subscribers' URIs
  process(self)
Process subscribers to obtain more semantic information
  __compact(self, subscriber, foafserv)
Compact mailing list subscribers according his foaf information
  __copileFoafInfo(self, subscriber, foafserv)
Compile subscribers' information from his FOAFs
  __toKML(self)
Public subscribers' geography information, if it's available in his foaf files, into KML file
  __toRDF(self)
Dump to RDF file all subscribers

Method Details

__init__(self, config)
(Constructor)

Constructor method
Parameters:
config - general configuration

add(self, msg)

Add a new subscriber
Parameters:
msg - new message

export(self)

Export subscribers information into multiple formats (RDF and KML)

get(self, mail)

Get subscriber
Parameters:
mail - subscriber's mail address

getSubscribersUris(self)

Get a list of subscribers' URIs
Returns:
subscribers uris

process(self)

Process subscribers to obtain more semantic information

__compact(self, subscriber, foafserv)

Compact mailing list subscribers according his foaf information
Parameters:
subscriber - subscriber reference
foafserv - FOAF service reference

__copileFoafInfo(self, subscriber, foafserv)

Compile subscribers' information from his FOAFs
Parameters:
subscriber - subscriber reference
foafserv - FOAF service reference

__toKML(self)

Public subscribers' geography information, if it's available in his foaf files, into KML file

__toRDF(self)

Dump to RDF file all subscribers

Generated by Epydoc 2.1 on Thu Dec 28 16:31:10 2006 http://epydoc.sf.net