f.e. I have an xml:
<a>
<b id="1">abc</b>
<b id="22">bzzz</b>
</a>
I want to map it onto
Map < Integer, String >
is it possible with jaxb? If yes - how?
Thank you.
f.e. I have an xml:
<a>
<b id="1">abc</b>
<b id="22">bzzz</b>
</a>
I want to map it onto
Map < Integer, String >
is it possible with jaxb? If yes - how?
Thank you.
Read documentation for XmlAdapter. It gives you what you want.