Class KeyMapAdaptedEntryAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,KeyMapAdaptedEntryAdapter.KeyMapAdaptedEntry>
-
- de.hybris.platform.cmsoccaddon.jaxb.adapters.KeyMapAdaptedEntryAdapter
-
public class KeyMapAdaptedEntryAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,KeyMapAdaptedEntryAdapter.KeyMapAdaptedEntry>
This Adapter is used to convert KeyMapAdaptedEntry into an HTML or XML document element. Example:
would have the following JSON representation:public class Container { private Listentries; } { "key1": "strValue", "key2": {"subkey1": "strValue", "subkey2": {"subKey3": "strValue}} "key3": ["strUid1", "strUid2", "strUid3"] }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyMapAdaptedEntryAdapter.KeyMapAdaptedEntryThis class represents a key-value entry in a Map.
-
Constructor Summary
Constructors Constructor Description KeyMapAdaptedEntryAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Elementmarshal(KeyMapAdaptedEntryAdapter.KeyMapAdaptedEntry adaptedEntry)convert KeyMapAdaptedEntry object into an HTML or XML document element object.KeyMapAdaptedEntryAdapter.KeyMapAdaptedEntryunmarshal(java.lang.Object object)
-
-
-
Method Detail
-
unmarshal
public KeyMapAdaptedEntryAdapter.KeyMapAdaptedEntry unmarshal(java.lang.Object object) throws java.lang.Exception
- Specified by:
unmarshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,KeyMapAdaptedEntryAdapter.KeyMapAdaptedEntry>- Throws:
java.lang.Exception
-
marshal
public org.w3c.dom.Element marshal(KeyMapAdaptedEntryAdapter.KeyMapAdaptedEntry adaptedEntry)
convert KeyMapAdaptedEntry object into an HTML or XML document element object.- Specified by:
marshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Object,KeyMapAdaptedEntryAdapter.KeyMapAdaptedEntry>
-
-