users@jaxb.java.net

RE: Unmarshalling behaviour 2.1.0 versus 2.1.4

From: Ernst, Matthias <matthias.ernst_at_coremedia.com>
Date: Mon, 16 Jul 2007 18:10:16 +0200

> Or is there a way to get 2.1.4 to call the list based setter?

Not that I know of. What the unmarshaller basically does is:

List items = invokeGetter();
If(items == null) invokeSetter(items = new ArrayList());
items.add(item);

I guess you need to give in to that.


Matthias