((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytstartDTDscCsdS(s$Signals the end of DTD declarations.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytendDTDscCsdS(sReport the beginning of an entity. The start and end of the document entity is not reported. The start and end of the external DTD subset is reported with the pseudo-name '[dtd]'. Skipped entities will be reported through the skippedEntity event of the ContentHandler rather than through this event. name is the name of the entity. If it is a parameter entity, the name will begin with '%'.N((RR#((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt startEntityscCsdS(sReports the end of an entity. name is the name of the entity, and follows the same conventions as for startEntity.N((RR#((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt endEntityscCsdS(sReports the beginning of a CDATA marked section. The contents of the CDATA marked section will be reported through the characters event.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt startCDATA scCsdS(s*Reports the end of a CDATA marked section.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytendCDATAs( RRRRBRCRDRERFRGRH(((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR@s     t AttributeListcBs}eZdZdZdZdZdZdZdZdZ dZ d d Z d Z d Zd ZRS(sInterface for an attribute list. This interface provides information about a list of attributes for an element (only specified or defaulted attributes will be reported). Note that the information returned by this object will be valid only during the scope of the DocumentHandler.startElement callback, and the attributes will not necessarily be provided in the order declared or specified.cCsdS(s(Return the number of attributes in list.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR"'scCsdS(s,Return the name of an attribute in the list.N((Rti((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytgetName*scCsdS(soReturn the type of an attribute in the list. (Parameter can be either integer index or attribute name.)N((RRJ((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR$-scCsdS(spReturn the value of an attribute in the list. (Parameter can be either integer index or attribute name.)N((RRJ((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR%1scCsdS(sAlias for getLength.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR*5scCsdS(sBAlias for getName (if key is an integer) and getValue (if string).N((Rtkey((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR+8scCsdS(s&Returns a list of the attribute names.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR,;scCsdS(s6True if the attribute is in the list, false otherwise.N((RRL((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR->scCsdS(smReturn the value associated with attribute name; if it is not available, then return the alternative.N((RRLR.((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR/AscCsdS(s#Return a copy of the AttributeList.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR0EscCsdS(s.Return a list of (attribute_name,value) pairs.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR1HscCsdS(s&Return a list of all attribute values.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR2KsN(RRRR"RKR$R%R*R+R,R-RR/R0R1R2(((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyRIs           tDocumentHandlercBsVeZdZdZdZdZdZdZdZdZ dZ RS( s+Handle general document events. This is the main client interface for SAX: it contains callbacks for the most important document events, such as the start and end of elements. You need to create an object that implements this interface, and then register it with the Parser. If you do not want to implement the entire interface, you can derive a class from HandlerBase, which implements the default functionality. You can find the location of any document event using the Locator interface supplied by setDocumentLocator().cCsdS(sHandle a character data event.N((Rtchtstarttlength((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt characters\scCsdS(s*Handle an event for the end of a document.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt endDocument_scCsdS(s*Handle an event for the end of an element.N((RR#((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt endElementbscCsdS(s<Handle an event for ignorable whitespace in element content.N((RRNRORP((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytignorableWhitespaceescCsdS(s&Handle a processing instruction event.N((Rttargettdata((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytprocessingInstructionhscCsdS(sAReceive an object for locating the origin of SAX document events.N((Rtlocator((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytsetDocumentLocatorkscCsdS(s0Handle an event for the beginning of a document.N((R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt startDocumentnscCsdS(s0Handle an event for the beginning of an element.N((RR#tatts((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt startElementqs( RRRRQRRRSRTRWRYRZR\(((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyRMQs        t HandlerBasecBseZdZRS(sDefault base class for handlers. This class implements the default behaviour for four SAX interfaces: EntityResolver, DTDHandler, DocumentHandler, and ErrorHandler: rather than implementing those full interfaces, you may simply extend this class and override the methods that you need. Note that the use of this class is optional (you are free to implement the interfaces directly if you wish).(RRR(((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR]wstParsercBsVeZdZdZdZdZdZdZdZdZ dZ RS( sFBasic interface for SAX (Simple API for XML) parsers. All SAX parsers must implement this basic interface: it allows users to register handlers for different types of events and to initiate a parse from a URI, a character stream, or a byte stream. SAX parsers should also implement a zero-argument constructor.cCs4t|_t|_t|_t|_dS(N(RMt doc_handlerRt dtd_handlerRt ent_handlerRt err_handler(R((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyRs   cCsdS(s/Parse an XML document from a system identifier.N((RtsystemId((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytparsescCsdS(s.Parse an XML document from a file-like object.N((Rtfileobj((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt parseFilescCs ||_dS(s<Register an object to receive basic document-related events.N(R_(Rthandler((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytsetDocumentHandlerscCs ||_dS(s7Register an object to receive basic DTD-related events.N(R`(RRg((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt setDTDHandlerscCs ||_dS(s0Register an object to resolve external entities.N(Ra(Rtresolver((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytsetEntityResolverscCs ||_dS(s3Register an object to receive error-message events.N(Rb(RRg((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pytsetErrorHandlerscCstddS(sHAllow an application to set the locale for errors and warnings. SAX parsers are not required to provide localisation for errors and warnings; if they cannot support the requested locale, however, they must throw a SAX exception. Applications may request a locale change in the middle of a parse.sLocale support not implementedN(tSAXNotSupportedException(Rtlocale((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt setLocales( RRRRRdRfRhRiRkRlRo(((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyR^s       N(((((((!RtversionRgRRRRt xmlreaderRRRRt _exceptionsR R R R R RRRRRRRRR R3R@RIRMR]R^(((s@/opt/freeware/lib/python2.7/site-packages/_xmlplus/sax/saxlib.pyt s"" RP>J3&