Re: Typecasting java.lang.Object???



In article <1159123116.294977.94870@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, "Tanveer"
<pankajgode@xxxxxxxxx> wrote:
Thanks Eric, for the best explanation i would have ever got on
classExceptionCast.

But actually, my problem is how do i do that???, i agree that it is not
possible, but still i want to do it....

What kind of object is getData() returning? If, for example, it's returning a
String that contains the data in a PDataNode object, you can retrieve the data
as a String, parse it into fields and construct a PDataNode object.

Lee Weiner
lee AT leeweiner DOT org
.