users@jaxb.java.net

Need an external binding file that makes all classes serializable

From: KARR, DAVID (ATTSI) <"KARR,>
Date: Tue, 9 Feb 2010 09:28:56 -0800

I'm trying to construct a very simple external binding file, which just
makes all generated classes serializable, irrespective of which schema
is referenced. In the samples I've seen, they all have a
"schemaLocation" attribute in the top level "jxb:bindings" element.
That isn't quite what I need. Can I just put the "globalBindings"
element inside the root "bindings" element? In addition, it seems like
I have to specify a constant value for the serializable uid. Is it
really going to generate each class with the same serializable value?