As was pointed out by ilcavero an XmlAdapter
can be used to apply an alternative mapping to Map (or any type) in JAXB. Below is a link to a concrete example:
- http://blog.bdoughan.com/2010/07/xmladapter-jaxbs-secret-weapon.html
For More Information
- http://blog.bdoughan.com/search/label/XmlAdapter