接口 ObjectMorpher

所有超级接口:
Morpher
所有已知实现类:
AbstractArrayMorpher, AbstractObjectMorpher, BeanMorpher, BigDecimalMorpher, BigIntegerMorpher, BooleanArrayMorpher, BooleanObjectArrayMorpher, BooleanObjectMorpher, ByteArrayMorpher, CharacterObjectArrayMorpher, CharacterObjectMorpher, CharArrayMorpher, ClassMorpher, DateMorpher, DoubleArrayMorpher, EnumMorpher, FloatArrayMorpher, IdentityObjectMorpher, IntArrayMorpher, LongArrayMorpher, MapToDateMorpher, NumberMorpher, ObjectArrayMorpher, ObjectListMorpher, ShortArrayMorpher, StringMorpher, SwitchingMorpher

public interface ObjectMorpher extends Morpher
Marker interface for morphers that return an Object.
  • 方法概要

    修饰符和类型
    方法
    说明
    morph(Object value)
    Morphs the input object into an output object of the supported type.

    从接口继承的方法 com.sh.json.ezmorph.Morpher

    morphsTo, supports
  • 方法详细资料

    • morph

      Object morph(Object value)
      Morphs the input object into an output object of the supported type.
      参数:
      value - The input value to be morphed
      抛出:
      MorphException - if conversion cannot be performed successfully