Back to index

python3.2  3.2.2
Public Member Functions | Private Attributes
xmlrpc.client.ExpatParser Class Reference

List of all members.

Public Member Functions

def __init__
def feed
def close

Private Attributes

 _parser
 _target

Detailed Description

Definition at line 436 of file client.py.


Constructor & Destructor Documentation

def xmlrpc.client.ExpatParser.__init__ (   self,
  target 
)

Definition at line 438 of file client.py.

00438 
00439     def __init__(self, target):
00440         self._parser = parser = expat.ParserCreate(None, None)
00441         self._target = target
00442         parser.StartElementHandler = target.start
00443         parser.EndElementHandler = target.end
00444         parser.CharacterDataHandler = target.data
00445         encoding = None
00446         target.xml(encoding, None)

Here is the caller graph for this function:


Member Function Documentation

Definition at line 450 of file client.py.

00450 
00451     def close(self):
00452         self._parser.Parse("", 1) # end of data
00453         del self._target, self._parser # get rid of circular references
00454 
00455 # --------------------------------------------------------------------
00456 # XML-RPC marshalling and unmarshalling code

Here is the caller graph for this function:

def xmlrpc.client.ExpatParser.feed (   self,
  data 
)

Definition at line 447 of file client.py.

00447 
00448     def feed(self, data):
00449         self._parser.Parse(data, 0)


Member Data Documentation

Definition at line 439 of file client.py.

Definition at line 440 of file client.py.


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