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
 Object morph(Object value)
          Morphs the input object into an output object of the supported type.
 
Methods inherited from interface net.sf.ezmorph.Morpher
morphsTo, supports
 

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


Copyright © 2006-2008. All Rights Reserved.