Package svnmailer :: Package settings :: Module mappers :: Class PlainMapper
[show private | hide private]
[frames | no frames]

Class PlainMapper

object --+    
         |    
BaseMapper --+
             |
            PlainMapper


Plain Mapper Generator
Method Summary
callable _generateMapper(self, section)
Generates a mapper for a particular section
  cleanup(self)
Removes all eaten map sections
  create(self, spec)
Returns a plain mapper
  init(self)
Custom Initialization
    Inherited from BaseMapper
  __init__(self, config)
Initialization
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __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)...
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...

Instance Variable Summary
list _to_remove: The sections to remove (['name', ...])
    Inherited from BaseMapper
BaseConfig _config: The config object

Method Details

_generateMapper(self, section)

Generates a mapper for a particular section
Parameters:
section - The mapping section
           (type=str)
Returns:
The mapping function
           (type=callable)
Raises:
ConfigMappingSectionNotFoundError - The specified section was not found

cleanup(self)

Removes all eaten map sections
Overrides:
svnmailer.settings._base.BaseMapper.cleanup

create(self, spec)

Returns a plain mapper
Overrides:
svnmailer.settings._base.BaseMapper.create

init(self)

Custom Initialization
Overrides:
svnmailer.settings._base.BaseMapper.init

Instance Variable Details

_to_remove

The sections to remove (['name', ...])
Type:
list

Generated by Epydoc 2.0 on Sun Sep 25 20:49:07 2005 http://epydoc.sf.net