JAXB unmarshal with declared type does not populate the resulting object with data

前端 未结 4 1169
孤街浪徒
孤街浪徒 2021-01-21 16:51

I am trying to unmarshal a given XML:


 rewriting of file
 toolA         


        
4条回答
  •  星月不相逢
    2021-01-21 17:49

    How do you have annotated the classes BaseName , BaseVersion and TX?

    If you have not annotated these classes, you will annotated the String inside of this classes as @XmlValue

提交回复
热议问题