java - XML Annotation for Derived Value -
i know @xmljavatypeadapter
allows me change list of xml object map.
may know if possible compute value during xml unmarshalling?
for example date of birth coming in.
and have age field. wish compute age field when xml unmarshalling.
an xmladapter
used time representation in object differs xml representation. xmladapter
gives place insert custom logic. sounds perfect fit use case.
Comments
Post a Comment