Package org.opencms.relations
Interface I_CmsCustomLinkRenderer
- All Known Implementing Classes:
CmsProtectedStaticFileHandler
public interface I_CmsCustomLinkRenderer
Interface used to inject custom link handling behavior into HTML/link content fields.
-
Method Summary
-
Method Details
-
getLink
Returns the link for the given link object.If null is returned, this means the normal link handling behavior should be used instead.
- Parameters:
cms
- the CMS contextlink
- the link object- Returns:
- the link for the link object
-
getLink
Returns the link for the given link resource.If null is returned, this means the normal link handling behavior should be used instead.
- Parameters:
cms
- the CMS contextresource
- the resource linked to- Returns:
- the link for the link object
-