Interface AdapterFactory<T,R,P,M>


public interface AdapterFactory<T,R,P,M>
  • Method Details

    • getTypeAdapterType

      Class<T> getTypeAdapterType()
      The type of type adapter this factory supports.
      Returns:
      the type
    • getReferenceAdapterType

      Class<R> getReferenceAdapterType()
      The type of reference adapter this factory supports.
      Returns:
      the type
    • getMethodAdapterType

      Class<M> getMethodAdapterType()
      The type of method adapter this factory supports.
      Returns:
      the type
    • getPropertyAdapterType

      Class<P> getPropertyAdapterType()
      The type of property adapter this factory supports.
      Returns:
      the type
    • create

      Adapter<T,R,P,M> create(AdapterContext ctx)
      Create an instance of Adapter for the given AdapterContext.
      Parameters:
      ctx - The AdapterContext
      Returns:
      the Adapter