Re: [Simple-support] annotation for choice
Brought to you by:
niallg
|
From: Ashish G. <agu...@gm...> - 2013-01-24 01:48:32
|
So, ElementUnion would work for this.
@ElementUnion({
@Element(required=false,name = "abc" , type="abcType" ),
@Element(required=false,name = "xyz" , type ="xyzType")
})
On Wed, Jan 23, 2013 at 2:47 PM, Ashish Gupta <agu...@gm...>wrote:
> Hi,
>
> What annotation can be used for choice ?
>
> e.g.
> <choice>
> <element name="abc" type="abcType" />
> <element name="xyz" type="xyzType" />
> </choice>
>
>
|