question: read max_event_count events from eventreader and writes to outputstream . concode_field_sep XMLEventWriter xmlWriter concode_elem_sep ElementOutputStream outputStream concode_elem_sep int MAX_EVENT_COUNT concode_elem_sep XMLEventReader eventReader concode_field_sep void closeConnections concode_elem_sep byte[] getData
target: void function ( ) { int loc0 = 0 ; XMLEvent loc1 ; while ( this . eventReader . hasNext ( ) && loc0 < MAX_EVENT_COUNT ) { loc1 = ( XMLEvent ) this . eventReader . next ( ) ; this . xmlWriter . add ( loc1 ) ; loc0 ++ ; } this . xmlWriter . flush ( ) ; }