接口 Morpher

所有已知子接口:
ObjectMorpher
所有已知实现类:
AbstractArrayMorpher, AbstractDecimalMorpher, AbstractIntegerMorpher, AbstractObjectMorpher, AbstractPrimitiveMorpher, BeanMorpher, BigDecimalMorpher, BigIntegerMorpher, BooleanArrayMorpher, BooleanMorpher, BooleanObjectArrayMorpher, BooleanObjectMorpher, ByteArrayMorpher, ByteMorpher, CharacterObjectArrayMorpher, CharacterObjectMorpher, CharArrayMorpher, CharMorpher, ClassMorpher, DateMorpher, DoubleArrayMorpher, DoubleMorpher, EnumMorpher, 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.
  • 方法概要

    修饰符和类型
    方法
    说明
    Returns the target Class for conversion.
    boolean
    supports(Class<?> clazz)
    Returns true if the Morpher supports conversion from this Class.
  • 方法详细资料

    • morphsTo

      Class<?> morphsTo()
      Returns the target Class for conversion.
      返回:
      the target Class for conversion.
    • supports

      boolean supports(Class<?> clazz)
      Returns true if the Morpher supports conversion from this Class.
      参数:
      clazz - the source Class
      返回:
      true if clazz is supported by this morpher, false otherwise.