#NEWLINE# def next( self ) : #NEWLINE# #INDENT# for ( event , node ) in self . event_stream : #NEWLINE# #INDENT# if ( ( event == 'START_ELEMENT' ) and ( self . nodeName == 'object' ) ) : #NEWLINE# #INDENT# self . event_stream . expandNode ( node ) #NEWLINE# return self . _handle_object ( node ) #NEWLINE# #UNINDENT# #UNINDENT# raise StopIteration