The law 's passage came a day after the president , Hu Jintao , assumed formal control of China 's military with a promise to protect the country 's sovereignty and defend its '' territorial integrity , '' language pointed directly at Taiwan . ''