@ProviderType
public final class SyntheticLinkResource
extends org.apache.sling.api.resource.SyntheticResource
LinkHandler.
Use properties with names provided by LinkNameConstants.| Constructor and Description |
|---|
SyntheticLinkResource(org.apache.sling.api.resource.ResourceResolver resourceResolver)
Instantiate resource with static path/resource type
|
SyntheticLinkResource(org.apache.sling.api.resource.ResourceResolver resourceResolver,
Map<String,Object> properties)
Instantiate resource with static path/resource type
|
| Modifier and Type | Method and Description |
|---|---|
<Type> Type |
adaptTo(Class<Type> type) |
getPath, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, toStringgetChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrenpublic SyntheticLinkResource(org.apache.sling.api.resource.ResourceResolver resourceResolver)
resourceResolver - Resource resolverpublic <Type> Type adaptTo(Class<Type> type)
adaptTo in interface org.apache.sling.api.adapter.AdaptableadaptTo in class org.apache.sling.api.adapter.SlingAdaptableCopyright © 2014–2017 wcm.io. All rights reserved.