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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 39547
Try the Apache Commons Digester library.

Ping & DNS - updated with new look and Ping home screen widget
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
Similar Threads
Confused for threading ?
static methods and NULL
Printing records in two or more columns
please explain the output?
doubt in casting