@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, listChildren
setAdapterManager, unsetAdapterManager
public static final String RESOURCE_TYPE
public String getPath()
getPath
in interface org.apache.sling.api.resource.Resource
public org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()
getResourceMetadata
in interface org.apache.sling.api.resource.Resource
public org.apache.sling.api.resource.ResourceResolver getResourceResolver()
getResourceResolver
in interface org.apache.sling.api.resource.Resource
public String getResourceSuperType()
getResourceSuperType
in interface org.apache.sling.api.resource.Resource
public String getResourceType()
getResourceType
in interface org.apache.sling.api.resource.Resource
public <AdapterType> AdapterType adaptTo(Class<AdapterType> type)
adaptTo
in interface org.apache.sling.api.adapter.Adaptable
adaptTo
in class org.apache.sling.api.adapter.SlingAdaptable
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.