Search code examples
javaxmlxsdjaxbjaxb2

XML + XSD => Java?


I need to make the above equation comes true!

I have an XML file with its XSD schema, and I need to get the Java classes with the required code to parse the XML file and construct java objects..

I am asking here about a standard (or defacto like apache) utility to make the above request comes ture....

Is JAXB can make this happens?

Thanks.


Solution

  • Sounds like you want JAX-B, the Java XML-to-object binding API.