Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
SlowParser Class Reference

Public Member Functions

def __init__
 

Data Fields

 handle_xml
 
 unknown_starttag
 
 handle_data
 
 unknown_endtag
 

Detailed Description

Default XML parser (based on xmllib.XMLParser).

Definition at line 396 of file xmlrpclib.py.

Constructor & Destructor Documentation

def __init__ (   self,
  target 
)

Definition at line 400 of file xmlrpclib.py.

401  def __init__(self, target):
402  import xmllib # lazy subclassing (!)
403  if xmllib.XMLParser not in SlowParser.__bases__:
404  SlowParser.__bases__ = (xmllib.XMLParser,)
405  self.handle_xml = target.xml
406  self.unknown_starttag = target.start
407  self.handle_data = target.data
408  self.unknown_endtag = target.end
409  try:
410  xmllib.XMLParser.__init__(self, accept_utf8=1)
411  except TypeError:
412  xmllib.XMLParser.__init__(self) # pre-2.0
413 
414 # --------------------------------------------------------------------
415 # XML-RPC marshalling and unmarshalling code

Field Documentation

handle_data

Definition at line 406 of file xmlrpclib.py.

handle_xml

Definition at line 404 of file xmlrpclib.py.

unknown_endtag

Definition at line 407 of file xmlrpclib.py.

unknown_starttag

Definition at line 405 of file xmlrpclib.py.


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