I want to create a list different types of class, which are all inheritance from the same superClass.
I am starting from an xsd file and I want to create the java classes and in run time load xml file that has a list nodes.
My problem is define the xsd that will create the java classes.
I am using JAXB 2.0 eclipse plugin.
In the end I want to have one List<superClass>
.
Can I do it with a simple JAXB?