Module zcfg_addon :: Class ZConfigGenerator
[frames | no frames]

Type ZConfigGenerator

object --+
         |
        ZConfigGenerator


ZConfig config file generator extension.

Use the createSectionLines method to generate the config text lines for a SectionValue object.

Class added to the ZConfig.cfgparser module.


Method Summary

list

createSectionLines(self, sect, indentLevel)
Generate config section lines for a SectionValue object.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
type __metaclass__ = __builtin__.type
str indentStr: blank string added for each indentation level

Method Details

createSectionLines(self, sect, indentLevel=0)

Generate config section lines for a SectionValue object.

Parameters:
sect -

a SectionValue object

indentLevel -

the indentation level of the generated lines

Returns:

a list of strings with the generated config lines


           (type=

list

)

Class Variable Details

indentStr

blank string added for each indentation level

Type:
str
Value:
'  '                                                                   

Generated by Epydoc 2.1 on Mon Mar 7 23:23:19 2005 http://epydoc.sf.net