| Author |
JAXB can't handle interfaces.
|
El El
Greenhorn
Joined: Aug 14, 2007
Posts: 1
|
|
Hi, I have a problem with jaxb and I was wondering if someone came across with it: I have a class (class Car) that implements an interface (interface CarIfc), and I want to be able to marshall and unmarshall the Car class. when activating the JaxbMarshaller, I get the following error: Car is an interface, and JAXB can't handle interfaces. do you have any idea how can I use interfaces in JAXB? If not, is there any other XML framework that handles interfaces? thanks in advance
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
"El El", please check your private messages for an important moderator message. (To see your private messages, click on the "get_profile" icon, that's the first of the little icons at the top of your post, and go from there.)
|
 |
 |
|
|
subject: JAXB can't handle interfaces.
|
|
|