Simple Java Xml to POJO mapping/binding?

后端 未结 4 1868
一向
一向 2020-12-10 05:41

I\'m trying to figure out the simplest way to map an xml file to to a plain old java object.

Note: That in my example the xml doesn\'t quite match up with my intend

4条回答
  •  生来不讨喜
    2020-12-10 05:51

    This article may help you... it only requires you to know xpath http://onjava.com/onjava/2007/09/07/schema-less-java-xml-data-binding-with-vtd-xml.html

提交回复
热议问题