Hello,
I am having issues mapping a generics class with JibX.

For example, I have defined the following 2 classes:
Class A<T>{
        T t;
        T getData(){ return t;}
        ...
}

Class B{
        ...
}

How would I go to map the "data" field in A<B> (data is of type B)?

When I am trying to map object A with structure B for "data" field, I am 
getting an error that it can't assign instance of type B to java.lang.Object.

Thanks,
Yuval



------------------------------------------------------------------------------
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to