The father of a boy who was stabbed at a Dublin school has said he is considering legal action.