public class SimpleModifiableResource
extends org.apache.sling.api.resource.AbstractResource
| Constructor and Description |
|---|
SimpleModifiableResource(org.apache.sling.api.resource.ResourceResolver resourceResolver,
AbstractModifyingResourceProvider resourceProvider,
String resourcePath,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
<AdapterType> |
adaptTo(Class<AdapterType> type) |
String |
getPath() |
Map<String,Object> |
getProperties() |
org.apache.sling.api.resource.ResourceMetadata |
getResourceMetadata() |
org.apache.sling.api.resource.ResourceResolver |
getResourceResolver() |
String |
getResourceSuperType() |
String |
getResourceType() |
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrenpublic SimpleModifiableResource(org.apache.sling.api.resource.ResourceResolver resourceResolver,
AbstractModifyingResourceProvider resourceProvider,
String resourcePath,
Map<String,Object> properties)
public <AdapterType> AdapterType adaptTo(Class<AdapterType> type)
adaptTo in interface org.apache.sling.api.adapter.Adaptablepublic String getPath()
public String getResourceType()
public String getResourceSuperType()
public org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()
public org.apache.sling.api.resource.ResourceResolver getResourceResolver()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.