Anti-government activists were attacked at a train station after protests over an extradition bill to send people to China for trial.