China says detained Australian writer being processed according to the law