| Constructor and Description |
|---|
ExternalLinkType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(String linkRef)
Checks whether a link reference string can be handled by this link type
|
String |
getId() |
String |
getPrimaryLinkRefProperty() |
static org.apache.sling.api.resource.Resource |
getSyntheticLinkResource(org.apache.sling.api.resource.ResourceResolver resourceResolver,
String url)
Get synthetic link resource for this link type.
|
Link |
resolveLink(Link link)
Resolves a link
|
String |
toString() |
public static final String ID
public String getId()
public String getPrimaryLinkRefProperty()
getPrimaryLinkRefProperty in class LinkTypepublic boolean accepts(String linkRef)
LinkTypepublic Link resolveLink(Link link)
LinkTyperesolveLink in class LinkTypelink - Link metadatapublic static org.apache.sling.api.resource.Resource getSyntheticLinkResource(org.apache.sling.api.resource.ResourceResolver resourceResolver,
String url)
resourceResolver - Resource resolverurl - Link URLCopyright © 2014–2017 wcm.io. All rights reserved.