users@jaxb.java.net

Re: JAXB binding questions

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 14 May 2007 17:06:07 -0700

Peizhao Hu wrote:
> Hi,
>
> I used the attached binding customization file to bind my sensorML
> schemas into java object. however, for some elements, it asked for
> JAXBElement or something like List<JAXBElement<List<String>>>. these
> look very strange to me.

Yes, it's fairly verbose, but to capture some arcane schema concepts we
occasionally need that.

I suspect you got a list of nillable elements with list as a type or
something.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com