Uses of Interface
org.kordamp.ezmorph.Morpher
Packages that use Morpher
Package
Description
Morphers for arrays.
Morphers for JavaBeans and DynaBeans.
Morphers for Object types.
Morphers for primitive types.
-
Uses of Morpher in org.kordamp.ezmorph
Subinterfaces of Morpher in org.kordamp.ezmorphModifier and TypeInterfaceDescriptioninterface
Marker interface for morphers that return an Object.Fields in org.kordamp.ezmorph with type parameters of type MorpherMethods in org.kordamp.ezmorph that return MorpherModifier and TypeMethodDescriptionMorpherRegistry.getMorpherFor
(Class<?> clazz) Returns a morpher forclazz
.
If several morphers are found for that class, it returns the first.Morpher[]
MorpherRegistry.getMorphersFor
(Class<?> clazz) Returns all morphers forclazz
.
If no Morphers are found it will return an array containing the IdentityObjectMorpher.Methods in org.kordamp.ezmorph with parameters of type MorpherModifier and TypeMethodDescriptionvoid
MorpherRegistry.deregisterMorpher
(Morpher morpher) Deregister the specified Morpher.
The registry will remove the targetClass
from the morphers Map if it has no other registered morphers.void
MorpherRegistry.registerMorpher
(Morpher morpher) Register a Morpher for a targetClass
.
The target class is the class this Morpher morphs to.void
MorpherRegistry.registerMorpher
(Morpher morpher, boolean override) Register a Morpher for a targetClass
.
The target class is the class this Morpher morphs to. -
Uses of Morpher in org.kordamp.ezmorph.array
Classes in org.kordamp.ezmorph.array that implement MorpherModifier and TypeClassDescriptionclass
Base class for array Morphers.final class
Morphs an array to a boolean[].final class
Morphs an array to a Boolean[].final class
Morphs an array to a byte[].final class
Morphs an array to a Character[].final class
Morphs an array to a char[].final class
Morphs an array to a double[].final class
Morphs an array to a float[].final class
Morphs an array to a int[].final class
Morphs an array to a long[].final class
Morphs an array to another array using a Morpher.final class
Morphs an array to a short[].Fields in org.kordamp.ezmorph.array declared as MorpherMethods in org.kordamp.ezmorph.array with parameters of type MorpherConstructors in org.kordamp.ezmorph.array with parameters of type MorpherModifierConstructorDescriptionObjectArrayMorpher
(Morpher morpher) Creates a new ArrayMorpher which will use another Morpher for its inner type.
The inner morpher can not morph to an array. -
Uses of Morpher in org.kordamp.ezmorph.bean
Classes in org.kordamp.ezmorph.bean that implement MorpherModifier and TypeClassDescriptionfinal class
Converts a JavaBean into another JavaBean or DynaBean.
This Morpher will try to match every property from the target JavaBean's class to the properties of the source JavaBean. -
Uses of Morpher in org.kordamp.ezmorph.object
Classes in org.kordamp.ezmorph.object that implement MorpherModifier and TypeClassDescriptionclass
Base class for ObjectMorpher implementations.final class
Morphs to a BigDecimal.final class
Morphs to a BigInteger.final class
Morphs to a Boolean.final class
Morphs to a Character.final class
Morphs to a Class.
This morpher is a singleton.final class
Morphs a String to a Date.final class
Morpher that performs no conversion.
This morpher is a singleton.class
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.final class
Morphs to a subclass of Number.
Supported types are - Byte, Short, Integer, Long, Float, BigInteger, BigtDecimal.final class
Morphs a List to another List using a Morpher.final class
Morphs to a String.
This morpher is a singleton.class
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.Fields in org.kordamp.ezmorph.object declared as MorpherMethods in org.kordamp.ezmorph.object with parameters of type MorpherConstructors in org.kordamp.ezmorph.object with parameters of type MorpherModifierConstructorDescriptionObjectListMorpher
(Morpher morpher) Creates a new ArrayMorpher which will use another Morpher for its inner type.
The inner morpher can not morph to an array.ObjectListMorpher
(Morpher morpher, Object defaultValue) -
Uses of Morpher in org.kordamp.ezmorph.primitive
Classes in org.kordamp.ezmorph.primitive that implement MorpherModifier and TypeClassDescriptionclass
Base class for primitive decimal conversion.class
Base class por primitive integer conversion.class
Base class for primitive value conversion.final class
Morphs to a boolean.final class
Morphs to a byte.final class
Morphs to a char.final class
Morphs to a double.final class
Moprhs to a float.final class
Morphs to an int.final class
Morphs to a long.final class
Morphs to a short.