| Summary: | Add ability to unmarshal as collection of objects without requiring wrapper object | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Blaise Doughan <blaise.doughan> |
| Component: | Eclipselink | Assignee: | Project Inbox <eclipselink.oxm-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
Currently given the following XML: <root> <phone-number>...</phone-number> <phone-number>...</phone-number> <phone-number>...</phone-number> ... </root> A wrapper class needs to be created to facilitate the unmarshal such as: @XmlRootElement public class Root { @XmlElement(name="phone-number") private List<PhoneNumber> phoneNumbers; } It would be convenient to have a mechanism that could just return a collection of PhoneNumber objects.