1

假设我有以下 xml:

<root>
<tag1>value1</tag1>
<tag2 attr1="somevalue"></tag2>
</root>

我想知道当 JAXB 从 xml 转换为任何对象时,它如何处理任何标记的属性。(我的意思是当它解组时)

4

0 回答 0