Package org.kie.internal.jaxb
Class StringKeyStringValueMapXmlAdapter
java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<StringKeyStringValueMap,Map<String,String>>
org.kie.internal.jaxb.StringKeyStringValueMapXmlAdapter
public class StringKeyStringValueMapXmlAdapter
extends jakarta.xml.bind.annotation.adapters.XmlAdapter<StringKeyStringValueMap,Map<String,String>>
This is a
XmlAdapter for mapping Map<String, String> instances
to classes/instances that both JAXB/XML and JSON can deal with.
The most important reason for the existence of this class is that it works well with jackson JSON! JaxbMapAdapter, on the other hand, does not!
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringKeyStringValueMapXmlAdapter
public StringKeyStringValueMapXmlAdapter()
-
-
Method Details
-
marshal
- Specified by:
marshalin classjakarta.xml.bind.annotation.adapters.XmlAdapter<StringKeyStringValueMap,Map<String, String>> - Throws:
Exception
-
unmarshal
- Specified by:
unmarshalin classjakarta.xml.bind.annotation.adapters.XmlAdapter<StringKeyStringValueMap,Map<String, String>>
-