Hallo,

Assume we have a xml fragment:

**************************************
<condition id="the-first"/>
<condition id="the-second"/>
<condition id="the-third"/>
<if if-ref="the-first" then-ref="the-second" else-ref="the-third"/>
***************************************

Obviously i want here to interpret attributes 'if-ref', 'then-ref' & 'else-ref' as references to previously defined objects. XStream.aliasSystemAttribute(...) allows just to redefine system attribute but does not allow to define several aliases
for it.

Custom converter does not help too because deserialised values are stored in private map
of ReferenceByIdUnmarshaller(AbstractReferenceUnmarshaller) class.

What could be the best solution for the problem?

Thank you in advance,
Vitali Nashkevich




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to