public class UnpermittedLink extends Link
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle| Constructor and Description |
|---|
UnpermittedLink(Link wrappedLink) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getLinkBody()
Get the contents that are being marked up by the link
|
String |
getTitle()
Get the link title text
|
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. |
Link |
getWrappedLink() |
int |
hashCode() |
boolean |
isAliasSpecified()
Returns true if the link markup specifies an alias.
|
boolean |
isRelativeUrl()
Is the URL relativeUrl to the application's context path?
|
getIconName, getLinkAttributes, getOriginalLinkText, getTitleArgs, getTitleKey, getUnpermittedLinkBodypublic UnpermittedLink(Link wrappedLink)
public Link getWrappedLink()
public String getLinkBody()
LinkgetLinkBody in class Linkpublic boolean isRelativeUrl()
LinkisRelativeUrl 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.