users@jaxb.java.net

How to handle interfaces when JAXb generates xml

From: brithgob <wfuller6_at_hotmail.com>
Date: Fri, 3 Jun 2011 10:59:58 -0700 (PDT)

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.