Package net.sf.ezmorph
Interface Morpher
- All Known Subinterfaces:
ObjectMorpher
- All Known Implementing Classes:
AbstractArrayMorpher
,AbstractDecimalMorpher
,AbstractIntegerMorpher
,AbstractObjectMorpher
,AbstractPrimitiveMorpher
,BeanMorpher
,BigDecimalMorpher
,BigIntegerMorpher
,BooleanArrayMorpher
,BooleanMorpher
,BooleanObjectArrayMorpher
,BooleanObjectMorpher
,ByteArrayMorpher
,ByteMorpher
,CharacterObjectArrayMorpher
,CharacterObjectMorpher
,CharArrayMorpher
,CharMorpher
,ClassMorpher
,DateMorpher
,DoubleArrayMorpher
,DoubleMorpher
,FloatArrayMorpher
,FloatMorpher
,IdentityObjectMorpher
,IntArrayMorpher
,IntMorpher
,LongArrayMorpher
,LongMorpher
,MapToDateMorpher
,NumberMorpher
,ObjectArrayMorpher
,ObjectListMorpher
,ShortArrayMorpher
,ShortMorpher
,StringMorpher
,SwitchingMorpher
public interface Morpher
Marker interface for morphers.
All implementations must have a
All implementations must have a
morph( Object value )
method
that returns the appropiate morphed value.-
Method Summary
-
Method Details
-
morphsTo
Class morphsTo()Returns the target Class for conversion.- Returns:
- the target Class for conversion.
-
supports
Returns true if the Morpher supports conversion from this Class.- Parameters:
clazz
- the source Class- Returns:
- true if clazz is supported by this morpher, false otherwise.
-