Search code examples
javaxmldomxsdsmooks

How to serialize Java class into XML with specified Schema


I have a Joo.java class and I want to serialize it into XML using the schema JooSchema.xsd.

Is it possible with Smooks API, how to do it?


Solution

  • I think that is better achieved with JAXB.