Class
zope.app.component.vocabulary.UtilityTerm

A term representing a utility.

The token of the term is the name of the utility. Here is a brief example on how the IVocabulary interface is handled in this term as a utility:

>>> from zope.interface.verify import verifyObject
>>> from zope.schema.interfaces import IVocabulary
>>> term = UtilityTerm(IVocabulary, 'zope.schema.interfaces.IVocabulary')
>>> verifyObject(ITokenizedTerm, term)
True
>>> term.value
<InterfaceClass zope.schema.interfaces.IVocabulary>
>>> term.token
'zope.schema.interfaces.IVocabulary'
>>> term
<UtilityTerm zope.schema.interfaces.IVocabulary, instance of InterfaceClass>

Base classes

Implemented Interfaces

Attributes/Properties

There are no attributes in this class.

Methods

There are no methods in this class.

Known Subclasses

There are no known subclasses.