org.apache.sling.adapter.annotations
Annotation Type Adaptable


@Target(value=TYPE)
@Retention(value=CLASS)
@Documented
public @interface Adaptable

The Adaptable annotation defines metadata about an implementation of org.apache.sling.api.adapter.Adaptable.


Required Element Summary
 java.lang.Class<?> adaptableClass
          The class which can be adapted.
 Adapter[] adapters
          The possible adapters for this adaptable.
 

Element Detail

adaptableClass

public abstract java.lang.Class<?> adaptableClass
The class which can be adapted.


adapters

public abstract Adapter[] adapters
The possible adapters for this adaptable.



Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.