JAXB generic @XmlValue

前端 未结 4 820
暖寄归人
暖寄归人 2021-02-06 06:00

The goal is to produce the following XML with JAXB


   string data
   binary data

         


        
4条回答
  •  南方客
    南方客 (楼主)
    2021-02-06 06:39

    Is there a reason you don't simply construct a String with your byte[]? Do you truly need a generic?

提交回复
热议问题