Package net.sf.ezmorph
Interface ObjectMorpher
-
- All Superinterfaces:
Morpher
- All Known Implementing Classes:
AbstractArrayMorpher,AbstractObjectMorpher,BeanMorpher,BigDecimalMorpher,BigIntegerMorpher,BooleanArrayMorpher,BooleanObjectArrayMorpher,BooleanObjectMorpher,ByteArrayMorpher,CharacterObjectArrayMorpher,CharacterObjectMorpher,CharArrayMorpher,ClassMorpher,DateMorpher,DoubleArrayMorpher,FloatArrayMorpher,IdentityObjectMorpher,IntArrayMorpher,LongArrayMorpher,MapToDateMorpher,NumberMorpher,ObjectArrayMorpher,ObjectListMorpher,ShortArrayMorpher,StringMorpher,SwitchingMorpher
public interface ObjectMorpher extends Morpher
Marker interface for morphers that return an Object.- Author:
- Andres Almiray
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectmorph(Object value)Morphs the input object into an output object of the supported type.
-
-
-
Method Detail
-
morph
Object morph(Object value)
Morphs the input object into an output object of the supported type.- Parameters:
value- The input value to be morphed- Throws:
MorphException- if conversion cannot be performed successfully
-
-