Interface IAdapterFactory


public interface IAdapterFactory
An adapter factory defines behavioral extensions for one or more classes that implements the IAdaptable interface. Adapter factories are contributed via the prototype extensions.
Author:
dobisekm
  • Method Details

    • adapt

      Object adapt(IPObject adaptable, Class targetClass)
      Adapts the given IPObject to instance of given target class.
      Parameters:
      adaptable -
      targetClass -
      Returns:
      adaptable adapted to be an instance of targetClass
    • getSupportedTargetClasses

      Class[] getSupportedTargetClasses()
      Returns:
      The array of classes to which the IPObjects can be adapted.