A referee was left bloodied and in shock after an "inexcusable" assault at a suburban soccer match which has ended with his attacker being thrown behind bars.