|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.renderer.links.Link com.atlassian.renderer.links.UnresolvedLink
public class UnresolvedLink
A link that should not be rendered as a link, either because it
Field Summary |
---|
Fields inherited from class com.atlassian.renderer.links.Link |
---|
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle |
Constructor Summary | |
---|---|
UnresolvedLink(String originalLinkText)
|
|
UnresolvedLink(String originalLinkText,
Link unresolvedLink)
|
|
UnresolvedLink(String originalLinkText,
String linkBody)
|
Method Summary | |
---|---|
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? |
Methods inherited from class com.atlassian.renderer.links.Link |
---|
equals, getIconName, getLinkAttributes, getLinkBody, getOriginalLinkText, getUnpermittedLinkBody, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnresolvedLink(String originalLinkText)
public UnresolvedLink(String originalLinkText, String linkBody)
public UnresolvedLink(String originalLinkText, Link unresolvedLink)
Method Detail |
---|
public boolean isRelativeUrl()
Link
isRelativeUrl
in class Link
public String getTitle()
Link
getTitle
in class Link
public String getTitleKey()
Link
getTitleKey
in class Link
public List getTitleArgs()
Link
Link.getTitleKey()
getTitleArgs
in class Link
public String getUrl()
Link
getUrl
in class Link
public String getWikiDestination()
Link
Link.originalLinkText
.
getWikiDestination
in class Link
public String getWikiTitle()
Link
Link.originalLinkText
. Returns null if no title was present
in the original link text.
getWikiTitle
in class Link
public boolean isAliasSpecified()
Link
isAliasSpecified
in class Link
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |