@Adaptable(adaptableClass=org.apache.sling.api.resource.Resource.class,
adapters=@Adapter(value=org.apache.sling.api.resource.ValueMap.class))
public class PlanetResource
extends org.apache.sling.api.resource.AbstractResource
implements org.apache.sling.api.resource.Resource
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_TYPE |
| Modifier and Type | Method and Description |
|---|---|
<AdapterType> |
adaptTo(Class<AdapterType> type) |
String |
getPath() |
org.apache.sling.api.resource.ResourceMetadata |
getResourceMetadata() |
org.apache.sling.api.resource.ResourceResolver |
getResourceResolver() |
String |
getResourceSuperType() |
String |
getResourceType() |
String |
toString() |
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrensetAdapterManager, unsetAdapterManagerpublic static final String RESOURCE_TYPE
public String getPath()
getPath in interface org.apache.sling.api.resource.Resourcepublic org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()
getResourceMetadata in interface org.apache.sling.api.resource.Resourcepublic org.apache.sling.api.resource.ResourceResolver getResourceResolver()
getResourceResolver in interface org.apache.sling.api.resource.Resourcepublic String getResourceSuperType()
getResourceSuperType in interface org.apache.sling.api.resource.Resourcepublic String getResourceType()
getResourceType in interface org.apache.sling.api.resource.Resourcepublic <AdapterType> AdapterType adaptTo(Class<AdapterType> type)
adaptTo in interface org.apache.sling.api.adapter.AdaptableadaptTo in class org.apache.sling.api.adapter.SlingAdaptableCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.