Package core :: Package controllers :: Module targetSettings :: Class targetSettings
[hide private]
[frames] | no frames]

Class targetSettings




A class that acts as an interface for the user interfaces, so they can configure the target settings using getOptionsXML and SetOptions.

Instance Methods [hide private]
  __init__(self)
  getOptionsXML(self)
This method returns a XML containing the Options that the plugin has.
  setOptions(self, optionsMap)
This method sets all the options that are configured using the user interface generated by the framework using the result of getOptionsXML().
  getName(self)
  getDesc(self)

Inherited from configurable.configurable: getType


Method Details [hide private]

__init__(self)
(Constructor)

 
None

getOptionsXML(self)

 
This method returns a XML containing the Options that the plugin has. Using this XML the framework will build a window, a menu, or some other input method to retrieve the info from the user. The XML has to validate against the xml schema file located at : w3af/core/ui/userInterface.dtd
Returns:
XML with the plugin options.
Overrides: configurable.configurable.getOptionsXML

setOptions(self, optionsMap)

 
This method sets all the options that are configured using the user interface generated by the framework using the result of getOptionsXML().
Parameters:
  • optionsMap - A dictionary with the options for the plugin.
Returns:
No value is returned.
Overrides: configurable.configurable.setOptions

getName(self)

 
None
Overrides: configurable.configurable.getName

getDesc(self)

 
None