org.apache.sling.jmx.provider.impl
Class MapResource

java.lang.Object
  extended by org.apache.sling.api.adapter.SlingAdaptable
      extended by org.apache.sling.api.resource.AbstractResource
          extended by org.apache.sling.jmx.provider.impl.MapResource
All Implemented Interfaces:
org.apache.sling.api.adapter.Adaptable, org.apache.sling.api.resource.Resource

public class MapResource
extends org.apache.sling.api.resource.AbstractResource


Field Summary
 
Fields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING
 
Constructor Summary
MapResource(org.apache.sling.api.resource.ResourceResolver resolver, String path, Map<String,Object> props, AttributeResource parent)
           
 
Method Summary
<AdapterType>
AdapterType
adaptTo(Class<AdapterType> type)
           
 AttributeResource getAttributeResource()
           
 String getPath()
           
 org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()
           
 org.apache.sling.api.resource.ResourceResolver getResourceResolver()
           
 String getResourceSuperType()
           
 String getResourceType()
           
 
Methods inherited from class org.apache.sling.api.resource.AbstractResource
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildren
 
Methods inherited from class org.apache.sling.api.adapter.SlingAdaptable
setAdapterManager, unsetAdapterManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapResource

public MapResource(org.apache.sling.api.resource.ResourceResolver resolver,
                   String path,
                   Map<String,Object> props,
                   AttributeResource parent)
Method Detail

getAttributeResource

public AttributeResource getAttributeResource()

getPath

public String getPath()
See Also:
Resource.getPath()

getResourceType

public String getResourceType()
See Also:
Resource.getResourceType()

getResourceSuperType

public String getResourceSuperType()
See Also:
Resource.getResourceSuperType()

getResourceMetadata

public org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()
See Also:
Resource.getResourceMetadata()

getResourceResolver

public org.apache.sling.api.resource.ResourceResolver getResourceResolver()
See Also:
Resource.getResourceResolver()

adaptTo

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


Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.