Ñò
@D®>c           @   sB   d  Z  d d k l Z d d d „  ƒ  YZ e ƒ  Z d d k Z d S(   sÈ   
$RCSfile: GeneratorRegistry.py,v $

GeneratorRegistry for result objects

Author: Philipp von Weitershausen <philikon@philikon.de>

$Id: GeneratorRegistry.py,v 1.2 2003/04/29 09:22:08 philikon Exp $
iÿÿÿÿ(   t   IGeneratorRegistryt   GeneratorRegistryc           B   sA   e  Z d  Z e Z d „  Z d „  Z d „  Z d „  Z d „  Z	 RS(   s(   
    Registry for output generators
    c         C   s   h  |  _  d  S(   N(   t   _reg(   t   self(    (    s6   /srv/Zope/Products/ZopeXMLMethods/GeneratorRegistry.pyt   __init__   s    c         C   s   | |  i  | <d  S(   N(   R   (   R   t	   meta_typet   obj(    (    s6   /srv/Zope/Products/ZopeXMLMethods/GeneratorRegistry.pyt   register   s    c         C   s   |  i  i | d  ƒ S(   N(   R   t   gett   None(   R   R   (    (    s6   /srv/Zope/Products/ZopeXMLMethods/GeneratorRegistry.pyt   getGenerator   s    c         C   s   |  i  i d d  ƒ S(   Ns   DTML Method(   R   R   R	   (   R   (    (    s6   /srv/Zope/Products/ZopeXMLMethods/GeneratorRegistry.pyt   getDefaultGenerator   s    c         C   s   t  |  i i ƒ  ƒ S(   N(   t   tupleR   t   keys(   R   (    (    s6   /srv/Zope/Products/ZopeXMLMethods/GeneratorRegistry.pyt   supportedMetaTypes    s    (
   t   __name__t
   __module__t   __doc__R    t   __implements__R   R   R
   R   R   (    (    (    s6   /srv/Zope/Products/ZopeXMLMethods/GeneratorRegistry.pyR      s   				N(    (   R   t
   interfacesR    R   t
   Generators(    (    (    s6   /srv/Zope/Products/ZopeXMLMethods/GeneratorRegistry.pyt   <module>	   s   	