users@jaxb.java.net

use case for Unmarshal / Marshal callback events

From: Mark Hansen <mark_at_javector.com>
Date: Tue, 01 Nov 2005 16:38:39 -0500

I'm trying to understand the intended use of Unmarshal / Marshal
callback events. For unmarshalling, what kind of bean property would I
want to set on a value class either before or after unmarshal?

I'm even more confused about marshal callback events. The marshal
callback interface doesn't provide access to the XML infoset that is
being marshalled in to - only the parent of the JAXB value class and the
Marshaller. What is the use case for setting properties of either the
Marshaller and/or value class before or after marshalling it out to an
infoset?

-- Mark