Package svnmailer :: Package settings :: Module _accessors :: Class TokenMember
[show private | hide private]
[frames | no frames]

Class TokenMember

object --+            
         |            
    Member --+        
             |        
    BaseMember --+    
                 |    
  BasePremapMember --+
                     |
                    TokenMember


Unicode token storage
Method Summary
  doTransform(self, value)
Transforms the value to unicode if it wasn't already
  init(self)
Custom initialization
    Inherited from BasePremapMember
  doPostmap(self, value)
Passes through
  doPremap(self, value)
Maps the value
    Inherited from BaseMember
any doSubstitute(self, value, subst)
abstract method
  postmap(self, value)
Postmap the value if it's activated
  premap(self, value)
Premap the value if it's activated
  substitute(self, value, subst)
Substitute the value if it's activated
  transform(self, value)
Transform if value is not None
    Inherited from Member
  __init__(self, mapper, arg, param)
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
dict _allowed: List of allowed tokens (or None) - saved in a dict for faster lookup
    Inherited from Member
any arg: The custom initialization argument
Struct instance: The owner instance
callable mapper: The associated mapper function (or None)
any param: The descriptor parameter

Method Details

doTransform(self, value)

Transforms the value to unicode if it wasn't already
Raises:
TypeError - The supplied value is neither str nor unicode
UnicodeError - The supplied value is a string and cannot be interpreted as the specified charset
ValueError - The supplied value is not allowed
Overrides:
svnmailer.settings._base.BaseMember.doTransform

init(self)

Custom initialization
Overrides:
svnmailer.settings._base.BaseMember.init

Instance Variable Details

_allowed

List of allowed tokens (or None) - saved in a dict for faster lookup
Type:
dict

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