. 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 ImportXml_Mapper $mapper */ public function update_map( ImportXml_Mapper $mapper ); }