;ò
¾5^Bc           @   sC   d  Z  d k l Z l Z d k l Z d e i f d „  ƒ  YZ d S(   sF   
   Copyright (C) 2001-2003 PimenTech SARL (http://www.pimentech.net)

   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Library General Public License as
   published by the Free Software Foundation; either version 2 of the
   License, or (at your option) any later version.

   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Library General Public License for more details.

   You should have received a copy of the GNU Library General Public
   License along with this library; see the file COPYING.LIB.  If not,
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  
(   s   saxlibs   saxexts(   s   Stacks   CommonHandlerc           B   s†   t  Z e Z e d ƒ Z d Z d d „ Z d „  Z d „  Z	 d „  Z
 d „  Z d „  Z d „  Z d	 „  Z d
 „  Z d „  Z d „  Z RS(   Ns    c         C   s)   | |  _  | |  _ |  i i |  i ƒ d  S(   N(   s   ids   selfs   titles   stacks   pushs	   parentTag(   s   selfs   ids   title(    (    s   sax.pys   __init__   s    		c         C   s   | |  _ |  i Sd  S(   N(   s   names   selfs   met_names   trace(   s   selfs   name(    (    s   sax.pys   __getattr__#   s    	c         C   s   d  Sd  S(   N(    (   s   self(    (    s   sax.pys   startDocument'   s    c         C   s   d  Sd  S(   N(    (   s   self(    (    s   sax.pys   endDocument*   s    c         C   s&   |  i i ƒ  |  _ |  i i | ƒ d  S(   N(   s   selfs   stacks   tops	   parentTags   pushs   name(   s   selfs   names   attrs(    (    s   sax.pys   startElement-   s    c         C   s'   |  i i ƒ  |  i i ƒ  |  _ d  Sd  S(   N(   s   selfs   stacks   pops   tops	   parentTag(   s   selfs   name(    (    s   sax.pys
   endElement1   s    c         C   s"   d |  i t | ƒ f GH| ‚ d  S(   Ns   %s.error(%s)(   s   selfs   ids   strs	   exception(   s   selfs	   exception(    (    s   sax.pys   error6   s    c         C   s"   d |  i t | ƒ f GH| ‚ d  S(   Ns   %s.fatalError(%s)(   s   selfs   ids   strs	   exception(   s   selfs	   exception(    (    s   sax.pys
   fatalError:   s    c         C   s   d |  i t | ƒ f GHd  S(   Ns   %s.warning(%s)(   s   selfs   ids   strs	   exception(   s   selfs	   exception(    (    s   sax.pys   warning>   s    c         C   s   d  Sd  S(   N(    (   s   selfs   datas   starts   length(    (    s   sax.pys
   charactersA   s    c         G   sp   d |  i |  i f } xS | d  D]G } | | d } t | ƒ d j o | | d d GHq! | d GHq! Wd  S(   Ns   %s.%s(iÿÿÿÿs   , i    s   )(   s   selfs   ids   met_names   strs   rests   params   len(   s   selfs   rests   params   str(    (    s   sax.pys   traceD   s     (   s   __name__s
   __module__s   Nones	   parentTags   Stacks   stacks   met_names   __init__s   __getattr__s   startDocuments   endDocuments   startElements
   endElements   errors
   fatalErrors   warnings
   characterss   trace(    (    (    s   sax.pys   CommonHandler   s   									N(   s   __doc__s   xml.saxs   saxlibs   saxextss!   Products.PimenTechLibCommon.stacks   Stacks   HandlerBases   CommonHandler(   s   CommonHandlers   saxlibs   Stacks   saxexts(    (    s   sax.pys   ?   s   
