[jdom-interest] converting Elements to objects

Anton Stoyanov anton.stoyanov at gmail.com
Thu Feb 17 11:13:58 PST 2005


i have the following (seems common, but all the posts about that are
from 2000 !)

i have an xml file like so: 


and a Customer.java class which has 

String name;
String tel;

with JDOM I can get a java.util.List of elements, but how can I
transform them into customer objects ?

I'm very interested in finding a solution which is independant of the
"customer" bit. because i have other classes too.

thanks alot 
if you need more information, please tell me.

Anton Stoyanov

More information about the jdom-interest mailing list