com.atlassian.bamboo.plugin.web.model
Class BambooWebLink
java.lang.Object
com.atlassian.plugin.web.model.AbstractWebItem
com.atlassian.plugin.web.model.DefaultWebLink
com.atlassian.bamboo.plugin.web.model.BambooWebLink
- All Implemented Interfaces:
- com.atlassian.plugin.web.model.WebLink
public class BambooWebLink
- extends com.atlassian.plugin.web.model.DefaultWebLink
Constructor Summary |
BambooWebLink(org.dom4j.Element linkEl,
com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper,
com.atlassian.plugin.web.ContextProvider contextProvider,
com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor descriptor)
|
Method Summary |
java.lang.String |
getDisplayableUrl(javax.servlet.http.HttpServletRequest req)
Render safe HTML href attribute value ready to be embedded in double quotes
|
java.lang.String |
getDisplayableUrl(javax.servlet.http.HttpServletRequest req,
java.util.Map<java.lang.String,java.lang.Object> context)
Render safe HTML href attribute value ready to be embedded in double quotes
|
java.lang.String |
getRenderedId(java.util.Map context)
This method will force the id to follow (relaxed) HTML standard recommendations. |
Methods inherited from class com.atlassian.plugin.web.model.DefaultWebLink |
getAccessKey, getId, getRenderedUrl, hasAccessKey |
Methods inherited from class com.atlassian.plugin.web.model.AbstractWebItem |
getContextMap, getDescriptor, getWebFragmentHelper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.plugin.web.model.WebLink |
getDescriptor |
BambooWebLink
public BambooWebLink(org.dom4j.Element linkEl,
com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper,
com.atlassian.plugin.web.ContextProvider contextProvider,
com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor descriptor)
getRenderedId
@Nullable
public java.lang.String getRenderedId(java.util.Map context)
- This method will force the id to follow (relaxed) HTML standard recommendations.
- See Also:
BambooStringUtils.forceValidHtmlId(String)
getDisplayableUrl
public java.lang.String getDisplayableUrl(javax.servlet.http.HttpServletRequest req,
java.util.Map<java.lang.String,java.lang.Object> context)
- Render safe HTML href attribute value ready to be embedded in double quotes
- Specified by:
getDisplayableUrl
in interface com.atlassian.plugin.web.model.WebLink
- Overrides:
getDisplayableUrl
in class com.atlassian.plugin.web.model.DefaultWebLink
- Parameters:
req
- context
-
- Returns:
getDisplayableUrl
public java.lang.String getDisplayableUrl(javax.servlet.http.HttpServletRequest req)
- Render safe HTML href attribute value ready to be embedded in double quotes
- Parameters:
req
-
- Returns:
Copyright © 2011 Atlassian. All Rights Reserved.