Package zope :: Package schema :: Module vocabulary :: Class SimpleTerm
[show private | hide private]
[frames | no frames]

Type SimpleTerm

object --+
         |
        SimpleTerm


Simple tokenized term used by SimpleVocabulary.
Method Summary
  __init__(self, value, token, title)
Create a term for value and token.
    Inherited from object
  __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
Implements __implemented__ = <implementedBy zope.schema.vocabulary....
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...

Method Details

__init__(self, value, token=None, title=None)
(Constructor)

Create a term for value and token. If token is omitted, str(value) is used for the token. If title is provided, term implements ITitledTokenizedTerm.
Overrides:
__builtin__.object.__init__

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy zope.schema.vocabulary.SimpleTerm>                      

__providedBy__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0xb6505acc>       

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0xb6505acc>       

Generated by Epydoc 2.1 on Fri Jun 24 12:01:26 2005 http://epydoc.sf.net