One-dimensional XXZ model for particles obeying fractional statistics