China "must be prepared" for any military confrontation in the South China Sea, the country's Global Times newspaper said.