This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Creating xml structure from java bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Creating xml structure from java bean" Watch "Creating xml structure from java bean" New topic
Author

Creating xml structure from java bean

James Peter
Ranch Hand

Joined: Sep 15, 2010
Posts: 115
Hi All,

Is there any way by which i can create xml structure from java bean dynamically?

requirement is if I pass a java bean then i should get xml structure.





Rgds
Peter
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
java.beans.XMLEncoder
James Peter
Ranch Hand

Joined: Sep 15, 2010
Posts: 115
Hi,

Thanks a lot.

Rgds
Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating xml structure from java bean
 
Similar Threads
creating a sample java bean
Trouble with XML parsing
Validating an XML File
JSTL over a Set: Did not get data as expected
how to remove indentation in a xml using java api