Populate Pojo Object using vtd

177 Views Asked by At

I am looking for a smart way to auto-populate my java pojo object with xml data parsed by vtd-xml. I referred this link http://www.onjava.com/pub/a/onjava/2007/09/07/schema-less-java-xml-data-binding-with-vtd-xml.html?page=2 But since I am having a very huge pojo object with 100+ fields, assigning each field with fetched value from xml seems quite copy-paste job and cumbersome to maintain.

0

There are 0 best solutions below