public class BambooWebLink
extends com.atlassian.plugin.web.model.DefaultWebLink
| Constructor and Description |
|---|
BambooWebLink(org.dom4j.Element linkEl,
com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper,
com.atlassian.plugin.web.ContextProvider contextProvider,
com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayableUrl(javax.servlet.http.HttpServletRequest req)
Render safe HTML href attribute value ready to be embedded in double quotes
<a href="${item.link.getDisplayableUrl(req)}" ...
|
String |
getDisplayableUrl(javax.servlet.http.HttpServletRequest req,
Map<String,Object> context)
Render safe HTML href attribute value ready to be embedded in double quotes
<a href="${item.link.getDisplayableUrl(req, webFragmentsContextMap)}" ...
|
String |
getRenderedId(Map<String,Object> context)
This method will force the id to follow (relaxed) HTML standard recommendations.
|
getAccessKey, getId, getRenderedUrl, hasAccessKeygetContextMap, getDescriptor, getWebFragmentHelperpublic BambooWebLink(org.dom4j.Element linkEl,
com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper,
com.atlassian.plugin.web.ContextProvider contextProvider,
com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor descriptor)
@Nullable public String getRenderedId(Map<String,Object> context)
public String getDisplayableUrl(javax.servlet.http.HttpServletRequest req, Map<String,Object> context)
getDisplayableUrl in interface com.atlassian.plugin.web.model.WebLinkgetDisplayableUrl in class com.atlassian.plugin.web.model.DefaultWebLinkreq - context - public String getDisplayableUrl(javax.servlet.http.HttpServletRequest req)
req - Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.