. interface ImportXml_Interface { /** * Read stream until current item finishes, processing * the data found * * @param XMLreader $reader */ public function process( XMLreader$reader ); /** * Update the old_id => new_id conversion map * * This function works on a Mapper object, storing the * type/old_id/new_id triplet for later use. * Import Classes for items not needing this info can use an * empty implementation * * @param Mapper $mapper */ public function update_map( Mapper$mapper ); }