American gymnast Paul Hamm has announced that he will not be able to compete at the Beijing Olympics and defend his men 's all-around title .