@Service public class ForcedResourceTypeViaProvider extends AbstractResourceTypeViaProvider
log| Constructor and Description |
|---|
ForcedResourceTypeViaProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getResourceType(org.apache.sling.api.resource.Resource resource,
String value) |
Class<? extends org.apache.sling.models.annotations.ViaProviderType> |
getType() |
protected boolean |
handle(String value) |
getAdaptablepublic Class<? extends org.apache.sling.models.annotations.ViaProviderType> getType()
protected String getResourceType(@Nonnull org.apache.sling.api.resource.Resource resource, @Nonnull String value)
getResourceType in class AbstractResourceTypeViaProviderprotected boolean handle(@Nonnull String value)
handle in class AbstractResourceTypeViaProviderCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.