Package flumotion :: Package wizard :: Module configurationwriter :: Class ConfigurationWriter
[hide private]

Class ConfigurationWriter

source code

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

I am responsible for writing the state of a flow created by the wizard 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)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
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

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • flowName - name of the flow
  • flowComponents - components to be included in the flow
  • atmosphereComponents - components to be included in the atmosphere
Overrides: object.__init__