Peizhao Hu wrote:
> Hi everyone,
>
> since no one reply my question early on, I would like to make my
> question for specific.
> I have a java object of type S, how can I create an JAXBElement object
> like JAXBElement<? extends T>, that is S extends T.
> please help!!!
new JAXBElement(new QName("root"), S.class, value );
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com