Hi,
Is the a way to read the attributes of an element into a Map (using JAXB), with the attribute name as a key in the map, and the attribute value as the value in the Map?
So, for the element:
<
test attribute1="val1" attribute2="val2" attribute3="val3" />
Would get unmarshalled to the class:
class Test {
Map<
String,String> attributes;
}
And the attributes map would contain the attribute name as the key, and the attribute value as the map value.
Thanks.