Package pyxmpp2 :: Package test :: Module stream_reader :: Class StreamHandler
[hide private]

Class StreamHandler


Instance Methods [hide private]
 
__init__(self, test_case)
x.__init__(...) initializes x; see help(type(x)) for signature
 
stream_start(self, element)
Called when the start tag of root element is encountered in the stream.
 
stream_end(self)
Called when the end tag of root element is encountered in the stream.
 
stream_element(self, element)
Called when the end tag of a direct child of the root element is encountered in the stream.

Inherited from xmppparser.XMLStreamHandler: stream_eof, stream_parse_error

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, test_case)
(Constructor)

 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

stream_start(self, element)

 
Called when the start tag of root element is encountered in the stream.
Parameters:
  • element - the root element
Overrides: xmppparser.XMLStreamHandler.stream_start
(inherited documentation)

stream_end(self)

 
Called when the end tag of root element is encountered in the stream.
Overrides: xmppparser.XMLStreamHandler.stream_end
(inherited documentation)

stream_element(self, element)

 
Called when the end tag of a direct child of the root element is encountered in the stream.
Parameters:
  • element - the (complete) element being processed
Overrides: xmppparser.XMLStreamHandler.stream_element
(inherited documentation)