A man is recovering in hospital after being stabbed on O'Connell Street in Dublin city centre this afternoon.