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.
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • 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