Package org.apache.sling.api.adapter


@Version("2.2.4") package org.apache.sling.api.adapter
Contracts and base classes for adapting objects to other types.
  • Class
    Description
    The Adaptable interface identifies objects which can be adapted to other types or representations of the same object.
    The AdapterFactory interface defines the API for helpers which may be provided to enhance the adaptability of adaptable objects.
    The AdapterManager defines the service interface for a manager for object adaption.
    The SlingAdaptable class is an (abstract) default implementation of the Adaptable interface.