def _get_next_object(self, object_class):
next_object = OsidList.next(self)<EOL>if isinstance(next_object, dict):<EOL><INDENT>next_object = object_class(osid_object_map=next_object, runtime=self._runtime, proxy=self._proxy)<EOL><DEDENT>elif is_string(next_object) and object_class == Id:<EOL><INDENT>next_object = Id(next_object)<EOL><DEDENT>return next_object<EOL>
stub