Depends on what you call "direct replacement"; the Nichia has the same
footprint as an XP-E/XP-G, but this only matters if you are desoldering and replacing. If it's a star swap, that's a little different.
I don't know much about direct drive, but looking at the
spec sheet for the 219, to me it reads like direct driving off 3x new alkaline etc AAs would be too much current for it to handle; extrapolating the Forward Voltage vs Forward Current graph (pg 12) gives maybe 2.5Amp @ 4.5Volts, when it's rated at 1.5Amp and 2Amp max for bursts. Don't know if it's been reliably pushed past this.
To my interpretation, if your start voltage is say 3.6V (3x
rechargeable AAs), then it should work OK. But non-rechargeables seem to me to be too high a start voltage, unless you used pre-used ones that had a few hundred mA knocked off them. Or unless you chucked in say a 1ohm 2Watt resistor to limit the max current.
That said, I just checked out the datasheet for the XR-E, and it shows a max current of 1Amp @ 3.7V, so buggered if I know. According to that, your direct driven XR-E shoulda burnt out from the start! :thinking: