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 morph( Object value )
method
that returns the appropiate morphed value.
- Author:
- Andres Almiray
Method Summary |
java.lang.Class |
morphsTo()
Returns the target Class for conversion. |
boolean |
supports(java.lang.Class clazz)
Returns true if the Morpher supports conversion from this Class. |
morphsTo
java.lang.Class morphsTo()
- Returns the target Class for conversion.
- Returns:
- the target Class for conversion.
supports
boolean supports(java.lang.Class clazz)
- 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.
Copyright © 2006-2010. All Rights Reserved.