public class StringMapAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.util.List<StringHashMapEntry>,java.util.Map<java.lang.String,java.lang.String>>
An JAXB XML adapter from Map (String,String) into List (StringHashMapEntry)
JAXB automatically converts a Map into a list to marshal it into an XML file.
The elements of a HashMap are "entry" pairs of key/value. If we want to replace the
HashMap elements with names "entry", "key", "value" into elements consistent with our
definition of REST guidelines, we need to translate Maps into Lists ourselves.
This class provide an adapter from Map (String,String) into List (StringHashMapEntry)
This class should be used in conjuction with XML annotation "XmlJavaTypeAdapter"