-
:c       s?    d  Z   	 d k l Z  d f  d     YZ 8 d e i f d     YZ O d f  d     YZ o d f  d	     YZ  d
 f  d     YZ  d e i	 f d     YZ
  d k Z  e i d d !d j o  d k l Z n  d e f d     YZ  d d d g Z  d d d g Z d d d d d g Z d S(    s  A Python translation of the SAX2 parser API. This file provides only
default classes with absolutely minimum functionality, from which
drivers and applications can be subclassed.

Many of these classes are empty and are included only as documentation
of the interfaces.
(   s   saxlibs   LexicalHandlerc      sw    d  Z    d Z  d   Z  d   Z  d   Z ! d   Z ( d   Z + d   Z / d   Z 3 d	   Z	 RS(
   sY   
    Default handler for lexical events
    Note: All methods can raise SAXException
    s#   http://xml.org/sax/handlers/lexicalc    s      d S(   s   The XML DeclarationN(    (   s   selfs   versions   encodings
   standalone(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   xmlDecl s   c    s      d S(   s3   Invoked at the beginning of the DOCTYPE declarationN(    (   s   selfs   doctypes   publicIDs   systemID(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   startDTD s   c    s      d S(   s   
        Invoked after all components of the DOCTYPE declaration,
        including both internal and external DTD subsets
        N(    (   s   self(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   endDTD s   c    s   ! % & d S(   s   
        Note: If an external DTD subset is read, it will invoke this method
        with special entity name of "[DTD]"
        N(    (   s   selfs   name(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   startEntity! s   c    s
   ( ) d  S(   N(    (   s   selfs   name(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys	   endEntity( s   c    s   + , - d S(   s   XML CommentN(    (   s   selfs   text(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   comment+ s   c    s   / 0 1 d S(   s   Beginning of CDATA SectionN(    (   s   self(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys
   startCDATA/ s   c    s   3 4 5 d S(   s   End of CDATA SectionN(    (   s   self(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   endCDATA3 s   (
   s   __doc__s	   handlerIds   xmlDecls   startDTDs   endDTDs   startEntitys	   endEntitys   comments
   startCDATAs   endCDATA(    (    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   LexicalHandler s   		s   AttributeList2c      s   8 9 d   Z  B d   Z RS(   Nc    s   9 ? @ d S(   s(  
        Whether the attribute value with the given name or index was
        explicitly specified in the element, or was determined from the
        default.  Parameter can be either integer index or attribute name.
        None (the default) signals 'Don't Know', else a boolean return
        N(    (   s   selfs   id(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   isSpecified9 s   c    s   B K L d S(   s  
        XML 1,0 parsers are required to report all entity references,
        even if unexpanded.  This includes those in attribute strings.
        Many parsers and apps ignore this, but for full conformance,
        This method can be called to get a list of indexes referring
        to entity references within the attribute value string for the
        given name or index.  Parameter can be either integer index or
        attribute name.
        N(    (   s   selfs   id(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   getEntityRefListB s   	(   s   isSpecifieds   getEntityRefList(    (    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   AttributeList28 s   	s   EntityRefListc      sJ   O d  Z  S T d   Z X d   Z \ d   Z c d   Z j d   Z RS(   sb   
    This is the entity-reference list returned by
    AttributeList2.getEntityRefList(index)
    c    s   T U V d S(   s(   Return the number of Entity Ref pointersN(    (   s   self(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys	   getLengthT s   c    s   X Y Z d S(   s:   Return the name of the entity reference at the given indexN(    (   s   selfs   index(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   getEntityNameX s   c    s   \ ` a d S(   se   
        Return the string start position of the entity reference
        at the given index
        N(    (   s   selfs   index(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   getEntityRefStart\ s   c    s   c g h d S(   sc   
        Return the string end position of the entity reference
        at the given index
        N(    (   s   selfs   index(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   getEntityRefEndc s   c    s   j k l d S(   s   Alias for getLength.N(    (   s   self(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   __len__j s   (   s   __doc__s	   getLengths   getEntityNames   getEntityRefStarts   getEntityRefEnds   __len__(    (    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   EntityRefListO s   	s   DTDDeclHandlerc      s   o d  Z  r s d Z t d Z u d Z v d Z w d Z x d Z y d Z z d Z | d Z	 ~ d   Z
  d   Z  d   Z  d	   Z RS(
   s3   
    A handler for a minimal set of DTD Events
    i   i   i   i   s$   http://xml.org/sax/handlers/dtd-declc    s   ~   d S(   s   
        Report an element-type declaration.
        name and model are strings, modelType is an enumerated int from 1 to 4
        N(    (   s   selfs   names	   modelTypes   model(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   elementDecl~ s   c    s      d S(   s   
        Report an attribute declaration.  The first 4 parameters are strings,
        defaultType is an integer from 1 to 4, entityRefs is an EntityRefList
        N(    (   s   selfs   elements   names   types   defaultValues   defaultTypes
   entityRefs(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   attributeDecl s   
c    s      d S(   s   
        Report an external entity declaration.
        All parameters are strings except for isParameterEntity,
        which is 0 or 1
        N(    (   s   selfs   names   isParameterEntitys   publicIds   systemId(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   externalEntityDecl s   c    s      d S(   s   
        Report an external entity declaration.
        All parameters are strings except for isParameterEntity,
        which is 0 or 1
        N(    (   s   selfs   names   isParameterEntitys   value(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   internalEntityDecl s   (   s   __doc__s   MODEL_ELEMENTSs   MODEL_MIXEDs	   MODEL_ANYs   MODEL_EMPTYs   ATTRIBUTE_DEFAULTEDs   ATTRIBUTE_IMPLIEDs   ATTRIBUTE_REQUIREDs   ATTRIBUTE_FIXEDs	   handlerIds   elementDecls   attributeDecls   externalEntityDecls   internalEntityDecl(    (    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   DTDDeclHandlero s   										s   NamespaceHandlerc      s/    d  Z    d Z  d   Z  d   Z RS(   sa   
    Receive callbacks for the start and end of the scope of each
    namespace declaration.
    s%   http://xml.org/sax/handlers/namespacec    s      d S(   s  
        Report the start of the scope of a namespace declaration.
        This event will be reported before the startElement event
        for the element containing the namespace declaration.  All
        declarations must be properly nested; if there are multiple
        declarations in a single element, they must end in the opposite
        order that they began.
        both parameters are strings
        N(    (   s   selfs   prefixs   uri(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   startNamespaceDeclScope s   	c    s      d S(   s   
        Report the end of the scope of a namespace declaration.
        This event will be reported after the endElement event for
        the element containing the namespace declaration.  Namespace
        scopes must be properly nested.
        N(    (   s   selfs   prefix(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   endNamespaceDeclScope s   (   s   __doc__s	   handlerIds   startNamespaceDeclScopes   endNamespaceDeclScope(    (    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   NamespaceHandler s   		s	   ModParserc      s>    d  Z    d   Z  d   Z  d   Z  d   Z RS(   s<   
    All methods may raise
    SAXNotSupportedException
    c    s      d S(   s8   
        featureId is a string, state a boolean
        N(    (   s   selfs	   featureIDs   state(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys
   setFeature s   c    s      d S(   sC   
        handlerID is a string, handler a handler instance
        N(    (   s   selfs	   handlerIDs   handler(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys
   setHandler s   c    s      d S(   s=   
        propID is a string, value of arbitrary type
        N(    (   s   selfs   propIDs   value(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   set s   c    s
     d  S(   N(    (   s   selfs   propID(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   get s   (   s   __doc__s
   setFeatures
   setHandlers   sets   get(    (    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys	   ModParser s
   	Ni    i   s   java(   s	   Exceptions   SAXNotSupportedExceptionc      s    d  Z    RS(   sr   
    Indicate that a SAX2 parser interface does not support a particular
    feature or handler, or property.
    (   s   __doc__(    (    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   SAXNotSupportedException s   	s#   http://xml.org/sax/handlers/lexicals$   http://xml.org/sax/handlers/dtd-decls%   http://xml.org/sax/handlers/namespaces+   http://xml.org/sax/properties/namespace-seps&   http://xml.org/sax/properties/dom-nodes(   http://xml.org/sax/properties/xml-strings&   http://xml.org/sax/features/validations5   http://xml.org/sax/features/external-general-entitiess7   http://xml.org/sax/features/external-parameter-entitiess&   http://xml.org/sax/features/namespacess*   http://xml.org/sax/features/normalize-text(   s   __doc__s   xml.saxs   saxlibs   LexicalHandlers   AttributeLists   AttributeList2s   EntityRefLists   DTDDeclHandlers   NamespaceHandlers   Parsers	   ModParsers   syss   platforms
   exceptionss	   Exceptions   SAXNotSupportedExceptions   CoreHandlerss   CorePropertiess   CoreFeatures(   s	   Exceptions   NamespaceHandlers   AttributeList2s   CoreHandlerss   EntityRefLists   CorePropertiess   CoreFeaturess   syss   DTDDeclHandlers   saxlibs   LexicalHandlers	   ModParsers   SAXNotSupportedException(    (    sM   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2Lib.pys   ? s   - 4	