Class PollStatusPropertyXmlAdapter


  • public class PollStatusPropertyXmlAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<PollStatusProperties,​java.util.Map<java.lang.String,​java.lang.Number>>
    Used to marshal/unmarshal the property map while preserving the ordering.
    Author:
    jwhite
    • Constructor Detail

      • PollStatusPropertyXmlAdapter

        public PollStatusPropertyXmlAdapter()
    • Method Detail

      • unmarshal

        public java.util.Map<java.lang.String,​java.lang.Number> unmarshal​(PollStatusProperties props)
                                                                         throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<PollStatusProperties,​java.util.Map<java.lang.String,​java.lang.Number>>
        Throws:
        java.lang.Exception
      • marshal

        public PollStatusProperties marshal​(java.util.Map<java.lang.String,​java.lang.Number> map)
                                     throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<PollStatusProperties,​java.util.Map<java.lang.String,​java.lang.Number>>
        Throws:
        java.lang.Exception