Re: [Simple-support] How to deserialize an heterogeneous sequence of elements
Brought to you by:
niallg
|
From: Raphael J. <rap...@gm...> - 2011-03-04 13:20:27
|
>
> Hi,
>
> Very shortly you will be able to do this, via something like this.
>
> @VariantList({
> @ElementList(entry="cleanDir", type=CleanDirCommand.class),
> @ElementList(entry="copy", type=CopyCommand.class)
> })
> private List<Command> commands;
>
> I have nearly completed this. It should be released in about a week or two.
> At the moment you would have to use the @Convert annotation and write a
> converter.
>
> Nial
Very nice !
I'm eager to have this feature.
Thanks for your work.
Raphael
|