Get line numbers in REXML'S StreamListener

Hi,
I’m using the StreamListener Mix-In from REXML to parse a file.
I want to stuuply line numbers as error information. Where do I get them?