com.atlassian.renderer.links
Class BaseLink
java.lang.Object
com.atlassian.renderer.links.Link
com.atlassian.renderer.links.BaseLink
- Direct Known Subclasses:
- UrlLink
public abstract class BaseLink
- extends Link
Methods inherited from class com.atlassian.renderer.links.Link |
getIconName, getLinkAttributes, getLinkBody, getOriginalLinkText, getTitle, getTitleArgs, getTitleKey, getUnpermittedLinkBody, getUrl, getWikiDestination, getWikiTitle, isAliasSpecified, isRelativeUrl |
BaseLink
protected BaseLink(GenericLinkParser parser)
setTitle
protected void setTitle(String title)
setI18nTitle
protected void setI18nTitle(String titleKey,
List titleArgs)
- Set I18n key and argument list to use as a title. This will not
cause
Link.getTitle()
to return the translated version, but will allow
Link.getTitleKey()
and Link.getTitleArgs()
to be used.
- Parameters:
titleKey
- i18n key for the title of the link.titleArgs
- arguments to use in an internationalised message.
getOriginalParser
public GenericLinkParser getOriginalParser()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Link
hashCode
public int hashCode()
- Overrides:
hashCode
in class Link
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.