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

Class RegexMember

object --+            
         |            
    Member --+        
             |        
    BaseMember --+    
                 |    
  BasePremapMember --+
                     |
                    RegexMember


Regex storage
Method Summary
  doTransform(self, value)
Turns into a regex
  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
int _flags: The flags for the regex compiler
    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)

Turns into a regex
Raises:
TypeError - Invalid type of value or the flags are broken
UnicodeError - The supplied value was a str and could not be converted to unicode
ValueError - The regex could not be compiled
Overrides:
svnmailer.settings._base.BaseMember.doTransform

init(self)

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

Instance Variable Details

_flags

The flags for the regex compiler
Type:
int

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