users@jaxb.java.net

Re: How to handle interfaces when JAXb generates xml

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Fri, 3 Jun 2011 21:13:14 +0200

Code reproducing this would help tremendously.
-W

On 3 June 2011 19:59, brithgob <wfuller6_at_hotmail.com> wrote:

>
> Hello.
> I have looked all over the internet trying to find a solution and nothing
> is
> working.
>
> I have a java class A that inherits java class B.
> Java class B inherits java class C.
>
> When jaxb tries to generate xml for object of type A I get this error.
>
> ... is an interface, and JAXB can't handle interfaces.
>
> What is the solution to this?
>
> Thanks
> --
> View this message in context:
> http://old.nabble.com/How-to-handle-interfaces-when-JAXb-generates-xml-tp31767421p31767421.html
> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>
>