Java - Convert xml to JAVA Pojo classes including java annotations(Simplexml)
问题 I am developing an application which uses XML as API request and response body. To fetch and parse this using retrofit, i have used SimpleXml as the converter for retrofit. But in order to create pojo classes for the corresponding XML, i could not find any online methods similar to jsonchema2pojo. And since the XML involved in the project is huge in size, it is very time consuming to create POJO classes manually. I am posting this question as an FAQ, since i had some trouble finding an easy