public class UnresolvedLink extends Link
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle| Constructor and Description |
|---|
UnresolvedLink(String originalLinkText) |
UnresolvedLink(String originalLinkText,
Link unresolvedLink) |
UnresolvedLink(String originalLinkText,
String linkBody) |
| Modifier and Type | Method and Description |
|---|---|
String |
getTitle()
Get the link title text
|
List |
getTitleArgs()
Retrieves the arguments to use in the internationalised message identified by
Link.getTitleKey() |
String |
getTitleKey()
Retrieve the i18n key for the title if defined.
|
String |
getUrl()
Get the destination URL for this link.
|
String |
getWikiDestination()
Gets the destination portion of the
Link.originalLinkText. |
String |
getWikiTitle()
Gets the optional title portion of the
Link.originalLinkText. |
boolean |
isAliasSpecified()
Returns true if the link markup specifies an alias.
|
boolean |
isRelativeUrl()
Is the URL relativeUrl to the application's context path?
|
equals, getIconName, getLinkAttributes, getLinkBody, getOriginalLinkText, getUnpermittedLinkBody, hashCodepublic UnresolvedLink(String originalLinkText)
public boolean isRelativeUrl()
LinkisRelativeUrl in class Linkpublic String getTitleKey()
LinkgetTitleKey in class Linkpublic List getTitleArgs()
LinkLink.getTitleKey()getTitleArgs in class Linkpublic String getUrl()
LinkIt should be html escaped so it can be embedded directly into html without any XSS attacks.
public String getWikiDestination()
LinkLink.originalLinkText.getWikiDestination in class Linkpublic String getWikiTitle()
LinkLink.originalLinkText. Returns null if no title was present
in the original link text.getWikiTitle in class Linkpublic boolean isAliasSpecified()
LinkisAliasSpecified in class LinkCopyright © 2019 Atlassian. All rights reserved.