Mapping XML Entities to Java Objects

前端 未结 2 1339
傲寒
傲寒 2020-12-16 11:17

I am quite sure, this is one of the many duplicated questions around XML to Java Object conversions. But I started this thread since I couldn\'t find simpler or looking for

2条回答
  •  太阳男子
    2020-12-16 12:11

    Basically you want to unmarshal your XML. Here's a detailed tutorial that describes how to use the JAXB xjc command to generate a Java class from XML Schema. A maven xjc plugin is also available for your convenience.

提交回复
热议问题