Re: [Simple-support] positions of elements
Brought to you by:
niallg
|
From: Jouni L. <Jou...@sa...> - 2011-11-17 06:33:23
|
Hi,
By default the serialization of fields is done in declaration order, so the simplest way would be to just declare C before B. If you need more control see the Order -annotation in the documentation and tutorials.
-J
On 16.11.11 22:49, "gato chalar" <da...@gm...> wrote:
Hi
I have a class like next one:
class A{
@Element
B b;
@Element
C c;
}
result at parsing:
<a >
<b>
<c>
</a>
How can I change the positions of elements?, in order to get:
<a >
<c>
<b>
</a>
Thanks a lot.
|