Class SimpleModifiableResource
java.lang.Object
org.apache.sling.api.adapter.SlingAdaptable
org.apache.sling.api.resource.AbstractResource
org.apache.sling.distribution.resources.impl.common.SimpleModifiableResource
- All Implemented Interfaces:
org.apache.sling.api.adapter.Adaptable,org.apache.sling.api.resource.Resource
public class SimpleModifiableResource
extends org.apache.sling.api.resource.AbstractResource
Resource that can be adapted to a ModifiableValueMap
-
Field Summary
Fields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING -
Constructor Summary
ConstructorsConstructorDescriptionSimpleModifiableResource(org.apache.sling.api.resource.ResourceResolver resourceResolver, AbstractModifyingResourceProvider resourceProvider, String resourcePath, Map<String, Object> properties) -
Method Summary
Modifier and TypeMethodDescription<AdapterType>
AdapterTypegetPath()org.apache.sling.api.resource.ResourceMetadataorg.apache.sling.api.resource.ResourceResolverMethods inherited from class org.apache.sling.api.resource.AbstractResource
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrenMethods inherited from class org.apache.sling.api.adapter.SlingAdaptable
setAdapterManager, unsetAdapterManager
-
Constructor Details
-
SimpleModifiableResource
public SimpleModifiableResource(org.apache.sling.api.resource.ResourceResolver resourceResolver, AbstractModifyingResourceProvider resourceProvider, String resourcePath, Map<String, Object> properties)
-
-
Method Details
-
adaptTo
- Specified by:
adaptToin interfaceorg.apache.sling.api.adapter.Adaptable
-
getPath
-
getResourceType
-
getResourceSuperType
-
getResourceMetadata
public org.apache.sling.api.resource.ResourceMetadata getResourceMetadata() -
getResourceResolver
public org.apache.sling.api.resource.ResourceResolver getResourceResolver() -
getProperties
-