I have :
JAXBElement<ArrayOfLeadRecord> r = l.getLeadRecordList() ;
How can I get the actual ArrayOfLeadRecord
as an object? It took me so long to unmarshal/convert this JAXBElement
to the actual object I want.
Thanks a lot....
You need to use the getValue()
method.
JAXBElement<ArrayOfLeadRecord> r = l.getLeadRecordList() ;
List<LeadRecordList> leadRecordList = r.getValue().getLeadRecordList();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.