Package org.apache.sling.models.spi
Interface ViaProvider
- 
public interface ViaProviderSPI interface for providers of the @Via annotation. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.ObjectORIGINALMarker object indicating that the original object should be used. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetAdaptable(java.lang.Object original, java.lang.String value)Get an adaptable using the value of the @Via annotation.java.lang.Class<? extends ViaProviderType>getType()Return the marker class for use in the @Via annotation 
 - 
 
- 
- 
Method Detail
- 
getType
java.lang.Class<? extends ViaProviderType> getType()
Return the marker class for use in the @Via annotation- Returns:
 - the marker class
 
 
- 
getAdaptable
java.lang.Object getAdaptable(java.lang.Object original, java.lang.String value)Get an adaptable using the value of the @Via annotation.- Parameters:
 original- the original adaptablevalue- the value of the @Via annotation- Returns:
 - the projected adaptable
 
 
 - 
 
 -