Package io.wcm.handler.link.type
Class InvalidLinkType
java.lang.Object
io.wcm.handler.link.spi.LinkType
io.wcm.handler.link.type.InvalidLinkType
@Model(adaptables={org.apache.sling.api.SlingHttpServletRequest.class,org.apache.sling.api.resource.Resource.class})
@ProviderType
public final class InvalidLinkType
extends LinkType
This link type is used for invalid links. It must not be registered explicitly.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.wcm.handler.link.spi.LinkType
accepts, getEditComponentResourceType, getLabel, hasRichTextPlugin
-
Field Details
-
ID
Link type ID- See Also:
-
-
Constructor Details
-
InvalidLinkType
public InvalidLinkType()
-
-
Method Details
-
getId
Description copied from class:LinkTypeGet link type ID. -
getPrimaryLinkRefProperty
Description copied from class:LinkTypeGet primary link reference property.- Specified by:
getPrimaryLinkRefPropertyin classLinkType- Returns:
- Name of the property in which the primary link reference is stored
-
accepts
Description copied from class:LinkTypeChecks whether a link reference string can be handled by this link type -
resolveLink
Description copied from class:LinkTypeResolves a link- Specified by:
resolveLinkin classLinkType- Parameters:
link- Link metadata- Returns:
- Resolved link metadata. Never null.
-