Package net.sf.ezmorph.object
Class ClassMorpher
java.lang.Object
net.sf.ezmorph.object.ClassMorpher
- All Implemented Interfaces:
Morpher,ObjectMorpher
Morphs to a Class.
This morpher is a singleton.
This morpher is a singleton.
- Author:
- Andres Almiray aalmiray@users.sourceforge.net
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ClassMorpherReturns the singleton instanceinthashCode()Morphs the input object into an output object of the supported type.morphsTo()Returns the target Class for conversion.booleanReturns true if the Morpher supports conversion from this Class.
-
Method Details
-
getInstance
Returns the singleton instance -
equals
-
hashCode
public int hashCode() -
morph
Description copied from interface:ObjectMorpherMorphs the input object into an output object of the supported type.- Specified by:
morphin interfaceObjectMorpher- Parameters:
value- The input value to be morphed
-
morphsTo
Description copied from interface:MorpherReturns the target Class for conversion. -
supports
Description copied from interface:MorpherReturns true if the Morpher supports conversion from this Class.
-