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

Module zope.schema.vocabulary

Vocabulary support for schema.

$Id: vocabulary.py,v 1.2 2005/06/24 16:52:59 nyergler Exp $
Classes
SimpleTerm Simple tokenized term used by SimpleVocabulary.
SimpleVocabulary Vocabulary that works from a sequence of terms.
VocabularyRegistry  

Exceptions
VocabularyRegistryError  

Function Summary
  getVocabularyRegistry()
Return the vocabulary registry.
  setVocabularyRegistry(registry)
Set the vocabulary registry.
  _clear()
Remove the registries (for use by tests).

Variable Summary
object _marker = <object object at 0xb7e6e460>
NoneType _vocabularies = None                                                                  

Function Details

getVocabularyRegistry()

Return the vocabulary registry.

If the registry has not been created yet, an instance of VocabularyRegistry will be installed and used.

setVocabularyRegistry(registry)

Set the vocabulary registry.

_clear()

Remove the registries (for use by tests).

Variable Details

_marker

Type:
object
Value:
<object object at 0xb7e6e460>                                          

_vocabularies

Type:
NoneType
Value:
None                                                                  

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