Class EnumTypeConvertor

All Implemented Interfaces:
Cloneable, TypeConvertor, TypeConvertor

public class EnumTypeConvertor extends AbstractSimpleTypeConvertor
Custom convertor used to handle enum types.
  • Constructor Details

    • EnumTypeConvertor

      public EnumTypeConvertor(Class<?> fromType, Class<?> toType, Method method)
  • Method Details

    • convert

      public Object convert(Object object)
      Convert the object from one type to another.
      Parameters:
      object - The object to convert.
      Returns:
      The converted object.