An Oxfordshire school has said it intends to appeal a court ruling after a former pupil won his claim for battery and false imprisonment by staff.