wood burning stoves 2.0*
The moose likes Web Services and the fly likes JAXB Annotation Maddness, subclass members do not get outputted. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAXB Annotation Maddness, subclass members do not get outputted." Watch "JAXB Annotation Maddness, subclass members do not get outputted." New topic
Author

JAXB Annotation Maddness, subclass members do not get outputted.

Warren Bell
Ranch Hand

Joined: Dec 20, 2000
Posts: 56
I want to do this

public List<? extends Foo> getFoos()
{
...
}

and get the json output for members of Foo and any members of subclasses of Foo. What JAXB annotations do I use in Foo and it's subclasses. All I have managed to be able to do is get the members of Foo as json. I have not been able to get any members of Foo's subclasses.

Thanks,

Warren Bell
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB Annotation Maddness, subclass members do not get outputted.