Class InnerFieldsXmlAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getKeyElementName()
      Returns the name of the element used to represent the key of a map entry.
      protected java.lang.String getMapElementName()
      Returns the name of the element used to represent the map.
      protected java.lang.String getValueElementName()
      Returns the name of the element used to represent the value of a map entry.
      org.w3c.dom.Element marshal​(java.util.Map<java.lang.String,​DocumentTypeField> map)  
      java.util.Map<java.lang.String,​DocumentTypeField> unmarshal​(org.w3c.dom.Element fields)  
      • Methods inherited from class java.lang.Object

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

      • InnerFieldsXmlAdapter

        public InnerFieldsXmlAdapter​(javax.xml.bind.Marshaller marshaller)
      • InnerFieldsXmlAdapter

        public InnerFieldsXmlAdapter​(javax.xml.bind.Unmarshaller unmarshaller)
    • Method Detail

      • getMapElementName

        protected java.lang.String getMapElementName()
        Returns the name of the element used to represent the map.
        Returns:
        the map element name.
      • getKeyElementName

        protected java.lang.String getKeyElementName()
        Returns the name of the element used to represent the key of a map entry.
        Returns:
        the key element name.
      • getValueElementName

        protected java.lang.String getValueElementName()
        Returns the name of the element used to represent the value of a map entry.
        Returns:
        the value element name.
      • marshal

        public org.w3c.dom.Element marshal​(java.util.Map<java.lang.String,​DocumentTypeField> map)
                                    throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<org.w3c.dom.Element,​java.util.Map<java.lang.String,​DocumentTypeField>>
        Throws:
        java.lang.Exception
      • unmarshal

        public java.util.Map<java.lang.String,​DocumentTypeField> unmarshal​(org.w3c.dom.Element fields)
                                                                          throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<org.w3c.dom.Element,​java.util.Map<java.lang.String,​DocumentTypeField>>
        Throws:
        java.lang.Exception