说我有以下xml:
<offer>
<param name="key1">value1</param>
<param name="key2">value2</param>
<param name="key3">value3</param>
</offer>
我希望它解组到对象
class Offer {
HashMap<String, String> params;
}
使用注释javax.xml.bind.annotation。*
我该怎么做?