Back to index

python3.2  3.2.2
Public Member Functions
xml.sax.handler.EntityResolver Class Reference

List of all members.

Public Member Functions

def resolveEntity

Detailed Description

Basic interface for resolving entities. If you create an object
implementing this interface, then register the object with your
Parser, the parser will call the method in your object to
resolve all external entities. Note that DefaultHandler implements
this interface with the default behaviour.

Definition at line 223 of file handler.py.


Member Function Documentation

def xml.sax.handler.EntityResolver.resolveEntity (   self,
  publicId,
  systemId 
)
Resolve the system identifier of an entity and return either
the system identifier to read from as a string, or an InputSource
to read from.

Definition at line 230 of file handler.py.

00230 
00231     def resolveEntity(self, publicId, systemId):
00232         """Resolve the system identifier of an entity and return either
00233         the system identifier to read from as a string, or an InputSource
00234         to read from."""
00235         return systemId
00236 
00237 
00238 #============================================================================
00239 #
00240 # CORE FEATURES
00241 #
00242 #============================================================================


The documentation for this class was generated from the following file: