public abstract class AbstractResourceTypeViaProvider extends Object implements org.apache.sling.models.spi.ViaProvider
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
AbstractResourceTypeViaProvider() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAdaptable(Object original,
String value) |
protected abstract String |
getResourceType(org.apache.sling.api.resource.Resource resource,
String value) |
protected abstract boolean |
handle(String value) |
public Object getAdaptable(Object original, String value)
getAdaptable in interface org.apache.sling.models.spi.ViaProvider@CheckForNull protected abstract String getResourceType(@Nonnull org.apache.sling.api.resource.Resource resource, @Nonnull String value)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.