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)
  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)
dictionary of /parent/name -> ConfigEntryComponent getComponentEntries(self)
Get all component entries from both atmosphere and all flows from the configuration.
  getPath(self)
  parse(self)
  parseAtmosphere(self, node)
ConfigEntryComponent parseComponent(self, node, parent)
Parse a <component></component> block.
  parseFlow(self, node)
  parseManager(self, node)
  parseProperties(self, node, type, properties)
    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.

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

Class Variable Details

logCategory

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

Generated by Epydoc 2.1 on Wed Feb 16 07:22:59 2005 http://epydoc.sf.net