Class CaptureAdapterFactory

java.lang.Object
com.iizigo.term.capture.CaptureAdapterFactory
All Implemented Interfaces:
IAdapterFactory

public class CaptureAdapterFactory extends Object implements IAdapterFactory
Factory for Designer Props for EE/EEM files.
Author:
Christopher Mindus
  • Method Details

    • initialize

      public static final void initialize()
      Initializes the adapter factory.
    • getAdapterList

      public Class<?>[] getAdapterList()
      Returns the collection of adapter types handled by this factory.
      Specified by:
      getAdapterList in interface IAdapterFactory
    • getAdapter

      public <T> T getAdapter(Object adaptableObject, Class<T> adapterType)
      Returns an object which is an instance of the given class associated with the given object. Returns null if no such object can be found.
      Specified by:
      getAdapter in interface IAdapterFactory
      Parameters:
      adaptableObject - The adaptable object being queried (usually an instance of IAdaptable).
      adapterType - The type of adapter to look up.
      Returns:
      A object castable to the given adapter type, or null if this adapter factory does not have an adapter of the given type for the given object.