Package flumotion :: Package common :: Module config :: Class FlumotionConfigXML
[show private | hide private]
[frames | no frames]

Class FlumotionConfigXML

Loggable --+
           |
          FlumotionConfigXML


I represent a planet configuration file for Flumotion.
Method Summary
  __init__(self, filename, string)
  export(self)
dictionary of /parent/name -> ConfigEntryComponent getComponentEntries(self)
Get all component entries from both atmosphere and all flows from the configuration.
  getPath(self)
  parse(self, noRegistry)
  _get_bool_value(self, nodes)
  _get_float_value(self, nodes)
  _get_int_value(self, nodes)
  _get_long_value(self, nodes)
  _get_raw_string_value(self, nodes)
  _get_string_value(self, nodes)
  _get_xml_value(self, nodes)
  _parseAtmosphere(self, node)
ConfigEntryComponent _parseComponent(self, node, parent)
Parse a <component></component> block.
  _parseFeeds(self, node, defs)
  _parseFlow(self, node)
  _parseManager(self, node, noRegistry)
  _parseProperties(self, node, type, properties)
  _parseSources(self, node, defs)
    Inherited from Loggable
  debug(self, *args)
Log a debug message.
  error(self, *args)
Log an error.
  info(self, *args)
Log an informational message.
  log(self, *args)
Log a log message.
  logFunction(self, message)
Overridable log function.
  logObjectName(self)
Overridable object name function.
  warning(self, *args)
Log a warning.
  warningFailure(self, failure)
Log a warning about a Failure.

Instance Variable Summary
  atmosphere: A ConfigEntryAtmosphere, filled in when parse() is called.
  flows: A list of ConfigEntryFlow, filled in when parse() is called.
  manager: A ConfigEntryManager containing options for the manager section, filled in at construction time.

Class Variable Summary
str logCategory: Implementors can provide a category to log their messages under.

Method Details

getComponentEntries(self)

Get all component entries from both atmosphere and all flows from the configuration.
Returns:
dictionary of /parent/name -> ConfigEntryComponent

_parseComponent(self, node, parent)

Parse a <component></component> block.
Returns:
ConfigEntryComponent

Instance Variable Details

atmosphere

A ConfigEntryAtmosphere, filled in when parse() is called.

flows

A list of ConfigEntryFlow, filled in when parse() is called.

manager

A ConfigEntryManager containing options for the manager section, filled in at construction time.

Class Variable Details

logCategory

Implementors can provide a category to log their messages under.
Type:
str
Value:
'config'                                                               

Generated by Epydoc 2.1 on Tue Dec 20 15:33:11 2005 http://epydoc.sf.net