I have an XML sample:\[code\]<person> <firstname>Joe</firstname> <lastname>Walnes</lastname> <phone value=http://stackoverflow.com/questions/12425401/1234-456 /> <fax value=9999-999 /></person>\[/code\]and I whant to map it to the class\[code\]public class Person { private String firstname; private String lastname; private String phone; private String fax;}\[/code\]So the idea is to map attribute of nested element to the current object.I tried to find any ready-to-use converter with no success. I believe that's possible by implementing new converter but may be someone already did this. Or there's a solution I haven't found.