Is there a public utility out there that converts a Java Object to an
XML document using reflection or any other means?
Consider a class:
public class Name {
public string firstName;
public string lastName"
public Name() {
firstName="John";
lastName="Smith";
}
}
I am looking for a utility that will automatically generate the output:
<Name>
<firstName>John</firstName>
<lastName>Smith</lastName>
</Name>
Anyone know of such a utility?
Thanks
Mehran
Email: mmm@medgrid.philips.com