Beijing has long clashed with Southeast Asian neighbors over the South China Sea, which it claims almost in its entirety.