aspose file tools*
The moose likes XML and Related Technologies and the fly likes Marshalling using JAXB API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Marshalling using JAXB API" Watch "Marshalling using JAXB API" New topic
Author

Marshalling using JAXB API

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
Whether JAXB API validate source data against an associated schema(XSD) as part of the marshalling operation(converting Java ojbjects into XML)?
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1282

Hi kri,

with JAXB you can choose to (optionally) validate data against the underlying schema for the marshalling as well as the unmarshalling process.

Marco
 
Consider Paul's rocket mass heater.
 
subject: Marshalling using JAXB API