The more general question behind it seems to be: how can the parser build up some data structure from what it is reading.
In your case you could store the data (i.e. "Hello") in a private field of SaxHandler. Further you add a getter, i.e. String getData()
to SaxHandler. The method parseXml could then end with
return handler.getData();