Package 

Interface GenericConverter

  • All Implemented Interfaces:
    icu.windea.breezeframework.core.component.Component , icu.windea.breezeframework.core.component.Converter

    
    public interface GenericConverter<T extends Object>
     implements Converter<T>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      T convert(Object value) 将指定的对象转化为另一个类型。如果转化失败,则抛出异常。
      abstract T convert(Object value, Type targetType)
      T convertOrNull(Object value) 将指定的对象转化为另一个类型。如果转化失败,则返回null。
      T convertOrNull(Object value, Type targetType)
      abstract Class<T> getTargetType()
      String getComponentId()
      Map<String, Object> getComponentParams()
      • Methods inherited from class icu.windea.breezeframework.core.component.GenericConverter

        componentCopy
      • Methods inherited from class icu.windea.breezeframework.core.component.Converter

        componentEquals, componentHashcode, componentToString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait