public class MergedResource
extends org.apache.sling.api.resource.AbstractResource
Modifier and Type | Method and Description |
---|---|
<AdapterType> |
adaptTo(Class<AdapterType> type) |
boolean |
equals(Object o)
Merged resources are considered equal if their paths are equal,
regardless of the list of mapped resources.
|
List<org.apache.sling.api.resource.Resource> |
getMappedResources() |
String |
getPath() |
org.apache.sling.api.resource.ResourceMetadata |
getResourceMetadata() |
org.apache.sling.api.resource.ResourceResolver |
getResourceResolver() |
String |
getResourceSuperType() |
String |
getResourceType() |
int |
hashCode() |
String |
toString() |
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildren
public String getPath()
public String getResourceType()
public String getResourceSuperType()
public org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()
public org.apache.sling.api.resource.ResourceResolver getResourceResolver()
public List<org.apache.sling.api.resource.Resource> getMappedResources()
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
public boolean equals(Object o)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.