Class s.c.m.a.AttributeDomain(object):

Part of spamfighter.core.message.attribute View Source View In Hierarchy

Known subclasses: spamfighter.core.message.attribute.IntAttributeDomain, spamfighter.core.message.attribute.IPAttributeDomain, spamfighter.core.message.attribute.TextAttributeDomain

Домент (тип атрибута).
Instance Variables_nameимя атрибута (type: str )
Method __init__ Конструктор.
Method name Получить имя атрибута.
Method serialize Получить сериализованное значение атрибута.
Method deserialize Десериализовать значение в атрибут.
Method __eq__ Undocumented
Method __repr__ Undocumented
def __init__(self, name): (source)
Конструктор.
Parametersnameимя атрибута (type: str )
def name(self): (source)
Получить имя атрибута.
Returnsимя атрибута (type: str )
def serialize(self, attribute): (source)
Получить сериализованное значение атрибута.
Parametersattributeатрибут (type: IAttribute )
Returnsсериализованное значение атрибута
def deserialize(self, value): (source)
Десериализовать значение в атрибут.
Parametersvalueсериализованное значение
Returnsатрибут (type: IAttribute )
def __eq__(self, other): (source)
Undocumented
def __repr__(self): (source)
Undocumented
API Documentation for SpamFighter, generated by pydoctor at 2009-02-27 11:58:37.