Package flumotion :: Package common :: Module config :: Class FlumotionConfigXML
[hide private]

Class FlumotionConfigXML

source code

log.Loggable --+        
               |        
     fxml.Parser --+    
                   |    
    BaseConfigParser --+
                       |
                      FlumotionConfigXML

I represent a planet configuration file for Flumotion.

Instance Methods [hide private]
 
__init__(self, file) source code
 
parse(self, noRegistry=False) source code
 
_parseAtmosphere(self, node) source code
ConfigEntryComponent
_parseComponent(self, node, parent, forManager=False)
Parse a <component></component> block.
source code
 
_parseFlow(self, node) source code
 
_parseManager(self, node, noRegistry=False) source code
 
_nodeGetInt(self, name, node) source code
 
_nodeGetString(self, name, node) source code
 
_parseSources(self, node, defs) source code
 
_parseClockMaster(self, node) source code
 
_parsePlugs(self, node, sockets) source code
dictionary of /parent/name -> ConfigEntryComponent
getComponentEntries(self)
Get all component entries from both atmosphere and all flows from the configuration.
source code

Inherited from BaseConfigParser: add, export, getPath, get_bool_values, get_float_values, get_fraction_values, get_int_values, get_long_values, get_raw_string_values, get_string_values, parsePlug, parsePlugs, parseProperties

Inherited from fxml.Parser: checkAttributes, getRoot, parseAttributes, parseFromTable

Inherited from log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  logCategory = 'config'
Implementors can provide a category to log their messages under.

Inherited from log.Loggable: __implemented__, __provides__

Instance Variables [hide private]
  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.
Method Details [hide private]

__init__(self, file)
(Constructor)

source code 
Parameters:
  • file - The file to parse, either as an open file object, or as the name of a file to open.
Overrides: BaseConfigParser.__init__
(inherited documentation)