Package flumotion :: Package admin :: Package assistant :: 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 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)
x.__init__(...) initializes x; see help(type(x)) 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__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from common.xmlwriter.XMLWriter: encoding

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

x.__init__(...) initializes x; see help(type(x)) 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__