com.atlassian.renderer.links
Class UrlLink

java.lang.Object
  extended by com.atlassian.renderer.links.Link
      extended by com.atlassian.renderer.links.BaseLink
          extended by com.atlassian.renderer.links.UrlLink

public class UrlLink
extends BaseLink


Field Summary
static String EXTERNAL_ICON
           
static String MAILTO_ICON
           
 
Fields inherited from class com.atlassian.renderer.links.Link
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle
 
Constructor Summary
UrlLink(GenericLinkParser parser)
           
UrlLink(String url, String linkBody)
           
 
Method Summary
 String getLinkAttributes()
          This is a method that will allow a link to set any additional attributes that are related to the specific link type.
 
Methods inherited from class com.atlassian.renderer.links.BaseLink
equals, getOriginalParser, hashCode, setI18nTitle, setTitle
 
Methods inherited from class com.atlassian.renderer.links.Link
getIconName, getLinkBody, getOriginalLinkText, getTitle, getTitleArgs, getTitleKey, getUnpermittedLinkBody, getUrl, getWikiDestination, getWikiTitle, isAliasSpecified, isRelativeUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTERNAL_ICON

public static final String EXTERNAL_ICON
See Also:
Constant Field Values

MAILTO_ICON

public static final String MAILTO_ICON
See Also:
Constant Field Values
Constructor Detail

UrlLink

public UrlLink(String url,
               String linkBody)

UrlLink

public UrlLink(GenericLinkParser parser)
Method Detail

getLinkAttributes

public String getLinkAttributes()
Description copied from class: Link
This is a method that will allow a link to set any additional attributes that are related to the specific link type. i.e. - if a link wants to set a css style, then this would be the place.

Overrides:
getLinkAttributes in class Link
Returns:
a string containing the param that will be included within the anchor tag.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.