The case was one of two stabbing attacks on Japanese children in China last year.