Package flumotion :: Package admin :: Package assistant :: Module configurationwriter :: Class ConfigurationWriter
[hide private]

type ConfigurationWriter

source code

                object --+    
                         |    
common.xmlwriter.XMLWriter --+
                             |
                            ConfigurationWriter

I am responsible for writing the state of a flow created by the configuration assistant into XML. I will try my best write pretty XML which can be editable by humans at a later point.

Instance Methods [hide private]
 
__init__(self, flowName, flowComponents, atmosphereComponents) source code
 
_writePlanet(self) source code
 
_writeAtmosphere(self, components) source code
 
_writeFlow(self, flowName, components) source code
 
_writeComponents(self, components) source code
 
_writeComponent(self, component) source code
 
_writeEaters(self, eaters) source code
 
_writeProperties(self, properties) source code
 
_writeComponentPlugs(self, plugs) source code
 
_writeComponentPlug(self, plug) source code

Inherited from common.xmlwriter.XMLWriter: getXML, popTag, pushTag, writeLine, writeTag

Class Variables [hide private]

Inherited from common.xmlwriter.XMLWriter: encoding

Method Details [hide private]

__init__(self, flowName, flowComponents, atmosphereComponents)
(Constructor)

source code 
Parameters:
  • flowName - name of the flow
  • flowComponents - components to be included in the flow
  • atmosphereComponents - components to be included in the atmosphere
Overrides: common.xmlwriter.XMLWriter.__init__