cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bim2...@basistech.com>
Subject RE: How to get xsd2java to plant an @XmlRootElement on a class?
Date Wed, 31 Oct 2007 15:59:30 GMT
The question was, for what construct in the XML schema will xsd2java end
up with that annotation. The answer turns out to be for an element with
an anonymous complex type as its content.

> -----Original Message-----
> From: Glen Mazza [mailto:glen.mazza@verizon.net]
> Sent: Wednesday, October 31, 2007 11:15 AM
> To: cxf-dev@incubator.apache.org
> Subject: Re: How to get xsd2java to plant an @XmlRootElement on a
class?
> 
> I think that annotation is placed on Java classes only, not on XSD's.
> 
> Glen
> 
> Am Mittwoch, den 31.10.2007, 10:22 -0400 schrieb Benson Margulies:
> > To construct a test case, I need to set up a .XSD so that some
element
> > in there gets an @XmlRootElement annotation.
> >
> > Anybody know the recipe?
> >


Mime
View raw message