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
  • Constructor Details

  • Method Details

    • adaptTo

      public <AdapterType> AdapterType adaptTo(Class<AdapterType> type)
      Specified by:
      adaptTo in interface org.apache.sling.api.adapter.Adaptable
    • getPath

      public String getPath()
    • getResourceType

      public String getResourceType()
    • getResourceSuperType

      public String getResourceSuperType()
    • getResourceMetadata

      public org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()
    • getResourceResolver

      public org.apache.sling.api.resource.ResourceResolver getResourceResolver()
    • getProperties

      public Map<String,Object> getProperties()