I have an xml like this:
xsd:choice corresponds to the @XmlElements annotation. You could apply this annotation directly to your desired object model.
For more information see: