[Home] [By Thread] [By Date] [Recent Entries]

  • From: Mehran <mmm@m...>
  • To: xml-dev@i...
  • Date: Wed, 27 May 1998 17:09:08 -0400

Hi

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@m...



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member