Hi all,
I am working on a use case where a more or less simple class member is
supposed to be mapped to a surrounding sub-element in XML.
This is what I have:
class FooBar {
String type = "SomeSpecialType";
SomeObject moreData = ...
}
This is what I would like the XML to look like:
<FooBar>
<SomeSpecialType>
<MoreData......>
.......
</MoreData>
</SomeSpecialType>
</FooBar>
So this simple String is supposed to be a sub-element which
contains/surrounds all (or at least some) of the other members of FooBar.
Any idea - or is this impossible without changing the object model?
Thanks in advance
Eric
Eric Sommer
http://www.poet.de
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev