Package net.sf.ezmorph.object
Morphers for Object types.
-
Class Summary Class Description AbstractObjectMorpher Base class for ObjectMorpher implementations.BigDecimalMorpher Morphs to a BigDecimal.BigIntegerMorpher Morphs to a BigInteger.BooleanObjectMorpher Morphs to a Boolean.CharacterObjectMorpher Morphs to a Character.ClassMorpher Morphs to a Class.
This morpher is a singleton.DateMorpher Morphs a String to a Date.IdentityObjectMorpher Morpher that performs no conversion.
This morpher is a singleton.MapToDateMorpher Morphs a Map into a Date.
The Map should have at least one of the following keys [yer,month,day,hour,minutes,seconds,milliseconds] and the values should be instances of Number.NumberMorpher Morphs to a subclass of Number.
Supported types are - Byte, Short, Integer, Long, Float, BigInteger, BigtDecimal.ObjectListMorpher Morphs a List to another List using a Morpher.StringMorpher Morphs to a String.
This morpher is a singleton.SwitchingMorpher An all-purpose Morpher that can morph to several classes.
Because this Morpher accepts any class and morphs to Object it should not be added to a MorpherRegistry as it may be too generic for some cases and may result in unwanted transformations.