File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Make it so: Java DB Connections & Transactions
this week in the
XML and Related Technologies
Joined: Jun 28, 2008
Mar 06, 2009 00:52:06
How can I map a Java-Map in JAXB using Annotations?
I would like to have this:
private Map<String, List<Object>> myMap = new HashMap<String, List><Object>>(); //getter/setter
the xml should be something like:
<myMap = "key"> <objectProperty1>...</objectProperty1> <objectProperty2>...</objectProperty2> <objectProperty2>...</objectProperty2> .. </myMap>
It is sorta covered in the
JavaRanch Style Guide
subject: jaxb hashmap?
Map instantiate with key-value
Hashmap and Generics
IllegalArgumentException: more than 10 parameters
Populating HashMaps of HashMap of Objects
HashMap Construction with initial values
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015