JAXB: unmarshalling xml with multiple names for the same element
问题 I figure this will be easy for someone who really understands JAXB binding files... Basic Question How do you configure JAXB to unmarshal multiple elements into the same class? Note: I want to avoid adding another dependency to my project (like MOXy). Ideally, this can be accomplished with annotations or a custom bindings file. Background I have an XML document that contains lots of variations of the same element--each with the exact same properties. Using my example below, all I care about