File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Marshalling using JAXB API" Watch "Marshalling using JAXB API" New topic

Marshalling using JAXB API

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1428
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

Joined: Mar 07, 2007
Posts: 1294

Hi kri,

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

I agree. Here's the link:
subject: Marshalling using JAXB API
It's not a secret anymore!