Jörg Schaible-3 wrote: > Hi Adrian, > > Adrian Jackson wrote: >> I feel sure this should be possible, > > No, because the ReflectionConverter would no longer know, what to do with > these elements at deserialization time.
I don't see how this would theoretically be any more difficult than the implicit array/collection/map code. In those cases, when the converter encounters an element that isn't explicitly defined in the parent class, it has an implicit mapping defined that says to store it in a given array/collection/map. This would just be a variation of that to store it in a given field directly. Still, if it's not supported, it's not supported. :) Not sure my xstream-fu is up to custom reflection converters, though I'll grab the source and see if I can spot how to do it. Thanks for the answer and suggestion, Adrian -- View this message in context: http://old.nabble.com/Implicit-fields-tp34562688p34563187.html Sent from the xstream - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
