Class MapAdapter


  • public class MapAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<MapElement[],​java.util.Map<java.lang.String,​java.lang.Object>>
    • Constructor Summary

      Constructors 
      Constructor Description
      MapAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MapElement[] marshal​(java.util.Map<java.lang.String,​java.lang.Object> map)  
      java.util.Map<java.lang.String,​java.lang.Object> unmarshal​(MapElement[] values)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapAdapter

        public MapAdapter()
    • Method Detail

      • marshal

        public MapElement[] marshal​(java.util.Map<java.lang.String,​java.lang.Object> map)
                             throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<MapElement[],​java.util.Map<java.lang.String,​java.lang.Object>>
        Throws:
        java.lang.Exception
      • unmarshal

        public java.util.Map<java.lang.String,​java.lang.Object> unmarshal​(MapElement[] values)
                                                                         throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<MapElement[],​java.util.Map<java.lang.String,​java.lang.Object>>
        Throws:
        java.lang.Exception