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

Class FlumotionConfigXML

source code

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

I represent a planet configuration file for Flumotion.

Nested Classes [hide private]

Inherited from BaseConfigParser: parserError

Instance Methods [hide private]
 
__init__(self, file) source code
 
parse(self) source code
 
_parseAtmosphere(self, node) source code
 
_parseFlow(self, node) 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, getPath, parseComponent, parsePlugs

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

Inherited from extern.log.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 extern.log.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.
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)