Package org.apache.sling.models.impl.via
Class BeanPropertyViaProvider
java.lang.Object
org.apache.sling.models.impl.via.BeanPropertyViaProvider
- All Implemented Interfaces:
ViaProvider
-
Field Summary
Fields inherited from interface org.apache.sling.models.spi.ViaProvider
ORIGINAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdaptable(Object original, String value) Get an adaptable using the value of the @Via annotation.Class<? extends ViaProviderType>getType()Return the marker class for use in the @Via annotation
-
Constructor Details
-
BeanPropertyViaProvider
public BeanPropertyViaProvider()
-
-
Method Details
-
getType
Description copied from interface:ViaProviderReturn the marker class for use in the @Via annotation- Specified by:
getTypein interfaceViaProvider- Returns:
- the marker class
-
getAdaptable
Description copied from interface:ViaProviderGet an adaptable using the value of the @Via annotation.- Specified by:
getAdaptablein interfaceViaProvider- Parameters:
original- the original adaptablevalue- the value of the @Via annotation- Returns:
- the projected adaptable
-