File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes generate xml to java Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "generate xml to java Bean" Watch "generate xml to java Bean" New topic

generate xml to java Bean

Ori Weisler

Joined: Feb 26, 2009
Posts: 10
I got this xml:





and I would like to generate it to a list of Row beans so I could iterate the values aa,bb,cc of each bean.
Does anybody know a way of doing it?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Try the Apache Commons Digester library.
pradeep jaladi
Ranch Hand

Joined: Nov 21, 2004
Posts: 65
you can try which converts objects to xml and xml to objects

I agree. Here's the link:
subject: generate xml to java Bean
It's not a secret anymore!