KEMBAR78
Using schemas in parsing xml part 2 | PPTX
Using XML schemas
using JAXB Part 2
Alex L. Fernandez
Automating POJO Creation
<bindingDirectory>src/main/resources/schemas</bindingDirectory>
<generateDirectory>target/generated-sources/sample</generateDirectory>
<generatePackage>com.alexfrndz.sample.model</generatePackage>
The Plugin will automatically create the POJO
or mvn clean package
The plugin will look at the directory and generate pojos for use
Converting XML Data to POJO
The Flow Accepts an XML, added the package of the generated POJO by the
plugin. The xml will be converted to POJO object and you can do some
manipulation and transformation.
100%

Using schemas in parsing xml part 2