Getting selection in string form

Derrick Rice <[email protected]> Tue, 17 Feb 2009 07:13:11 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.java
Organization http://groups.google.com
Message-ID <e927a093-c1bd-4383-aae4-ab733da5d641@m22g2000vbl.googlegroups.com>
Hi, I'm having a problem getting the selection from an nsISelection in
string form.  It seems that the XPCOMJavaProxy is returning the Object
'toString()' method rather than the nsISelection.toString() method:

org.mozilla.interfaces.nsISelection@dd75a4

Is there a work-around for this?