Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] [MOXy] collection of elements with different names

Hi,

Is it possible to map elements of different names to the same collection? 
As in something like mapping:

<Document>
    <ShipToAddress>...</ShipToAddress>
    <BillingAddress>...</BillingAddress>
    <VendorAddress>...</VendorAddress>
</Document>

To:

public class Document {
    private List<Address> addresses
}

Thanks!
--Polly
-- 
View this message in context: http://old.nabble.com/-MOXy--collection-of-elements-with-different-names-tp26822805p26822805.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top