Ñò
ÁÕqKc           @   sf  d  Z  d d d !Z d d d !Z d d d !Z y d d k l Z Wn+ e j
 o d d	 k Z e i e _ n X[ d d	 k Z d d	 k	 Z	 d d	 k
 Z
 d d	 k Z d d	 k Z d d
 k	 l Z l Z l Z d d k
 l Z l Z l Z d d k l Z l Z l Z d d k l Z l Z l Z h e	 i d 6e
 i d 6e i i d 6e i d 6e	 i d 6Z d „  Z d	 S(   sú   
$RCSfile: __init__.py,v $

The ZopeXMLMethods package is a Zope product.  

Author: Chip Morris <cmorris@arielpartners.com>
Modified by Philipp von Weitershausen <philikon@philikon.de>

$Id: __init__.py,v 1.4 2003/06/16 05:47:53 arielpartners Exp $
s	   $Name:  $i   iþÿÿÿs   $Date: 2003/06/16 05:47:53 $s   $Revision: 1.4 $i
   iÿÿÿÿ(   t	   InterfaceN(   t   manage_addXSLTMethodt   manage_addXSLTMethodFormt   addXSLTMethod(   t   manage_addXPathMethodt   manage_addXPathMethodFormt   addXPathMethod(   t   manage_addDTDValidateMethodt   manage_addDTDValidateMethodFormt   addDTDValidateMethod(   t#   manage_addXMLMethodCacheManagerFormt   manage_addXMLMethodCacheManagert   addXMLMethodCacheManagert   availableXSLTProcessorst   availableXPathProcessorst   availableDTDValidatorst   behaveLikeListt   findCacheManagerc      
   C   s#  y¨ |  i  t i d t t t f d d ƒ|  i  t i d t t t f d d ƒ|  i  t	 i	 d t
 t t f d d ƒ|  i  t i d t t t t i f d d ƒ|  i ƒ  Wnt d d k } d d k } d d k } | i ƒ  \ } } } | i i | i | i | | | ƒ d	 ƒ ƒ ~ ~ ~ n Xd S(
   s±   
    Initialize the ZopeXMLMethods product.  This makes the object appear
    in the Zope product list menu. initialize() is called by Zope when
    starting a Zope server.
    t   constructorst   icons   www/XSLTMethod.gifs   www/XPathMethod.gifs   www/DTDValidateMethod.gifs   www/cache.gifiÿÿÿÿNt    (   t   registerClasst
   XSLTMethodR   R   R   t   XPathMethodR   R   R   t   DTDValidateMethodR   R   R	   t   CacheManagerR
   R   R   R   t   registerHelpt   syst	   tracebackt   stringt   exc_infot   stderrt   writet   joint   format_exception(   t   contextR   R   R   t   typet   valt   tb(    (    s-   /srv/Zope/Products/ZopeXMLMethods/__init__.pyt
   initialize.   s8    			$+(   t   __doc__t
   __cvstag__t   __date__t   __version__t   zope.interfaceR    t   ImportErrort   Baset	   XMLMethodR   R   R   R   R   R   R   R   R   R   R   R   R	   R
   R   R   t   availableProcessorsR   R   t   methodsR'   (    (    (    s-   /srv/Zope/Products/ZopeXMLMethods/__init__.pyt   <module>
   s0   

