jeudi 30 avril 2020

Design patterns or design to read data from lexs.xsd doPublish instance

I have a sample instance in below link. http://www.datypic.com/sc/lexs314/e-lexspd_doPublish.html

I did unmarshall xml to object and got a complex object. I need a design pattern or design to read data from that complex object and assign it to a pojo. While reading data from complex objects, I have to check if conditions for each variable and retrieve data and it's lot of code. Could someone guide in a direction to map or parse that complex object and retrieve data and assign data to a pojo. Let me know if you need more information.

Aucun commentaire:

Enregistrer un commentaire