Package flumotion :: Package manager :: Module config :: Class PlanetConfigParser
[hide private]

Class PlanetConfigParser

source code

extern.log.log.Loggable --+            
                          |            
         common.fxml.Parser --+        
                              |        
 common.config.BaseConfigParser --+    
                                  |    
              FlumotionConfigParser --+
                                      |
                                     PlanetConfigParser

I represent a planet configuration file for Flumotion.

Nested Classes [hide private]

Inherited from common.config.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 FlumotionConfigParser: parseComponent

Inherited from common.config.BaseConfigParser: add, getPath, parsePlugs

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

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

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: common.config.BaseConfigParser.__init__
(inherited documentation)