Package swaml :: Package classes :: Module configuration :: Class Configuration
[show private | hide private]
[frames | no frames]

Class Configuration


Class to encapsulate SWAML's configuration
Method Summary
  __init__(self)
Constructor method
  get(self, var)
Method to get a configuration property
  getAgent(self)
Return the agent URL
  getAntiSpam(self)
String to fight against the SPAM
boolean parse(self, argv)
Getting params of default input
  set(self, var, value)
Method to set a configuration property
  setAgent(self, agent)
Store the agent's url
  show(self)
Show all configure options

Method Details

__init__(self)
(Constructor)

Constructor method

get(self, var)

Method to get a configuration property
Parameters:
var - var key

getAgent(self)

Return the agent URL

getAntiSpam(self)

String to fight against the SPAM

parse(self, argv)

Getting params of default input
Parameters:
argv - arguments values array
Returns:
parse ok
           (type=boolean)

To Do: process one o more lists

set(self, var, value)

Method to set a configuration property
Parameters:
var - var key
value - value var

setAgent(self, agent)

Store the agent's url
Parameters:
agent - agent uri

show(self)

Show all configure options

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