Transmorph is a Java library used to convert a Java object of one type into an object of another type (with another signature, possibly parameterized). It supports conversion for primitives and objects, conversion to multidimensional arrays, conversion to parameterized collections and types, and jars for JDK 1.4 and JDK 1.5. It has no dependencies. It is easy to add more converters. It can convert to a type given either its Java type (class) or signature.
License: The Apache License 2.0
Changes:
There is a now a conversion context object. It contains a pool of created objects to support data objects that contain bi-directional relationships. It can also keep the used converters (useful for debugging). Some new converters have been added: BeanToBean, EnumToEnum, ImmutableIdentityConverter, StringToQName, and StringToTimeZone. There is also now the notion of modifiers than can be applied after conversion (CanonicalizeFile, LowerCaseString, ResolveFile, TrimString, and UppercaseString).
More...