As you can see Wheel has two elements colour and size. In JAXB, to represent this I could have a JAXB Car class and a JAXB Wheel class.
But I think this is overkill. I would like to represent this structure as just one JAXB class: Car.
Is there any way to do this?
Also, just say the in Java the only element I am in interested in the Wheel is the colour, it is possible to just get this element into a JAXB Car class anyway?