|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.plugins.linkbrowser.client.LinkInfo
public class LinkInfo
Nested Class Summary | |
---|---|
static class |
LinkInfo.LinkType
|
Constructor Summary | |
---|---|
LinkInfo(String currentSpaceKey,
String currentPageTitle,
String linkText,
boolean parse)
|
|
LinkInfo(String currentSpaceKey,
String currentPageTitle,
String linkText,
String linkAlias)
|
|
LinkInfo(String currentSpaceKey,
String currentPageTitle,
String linkText,
String linkAlias,
String href)
|
Method Summary | |
---|---|
static String |
divideOn(StringBuffer buffer,
char divider)
Split a StringBuffer on some dividing character. |
String |
getAlias()
|
String |
getAnchor()
|
String |
getAttachmentName()
|
String |
getContentId()
Gets the content id parsed. |
String |
getDestinationTitle()
|
String |
getHref()
|
String |
getLinkBody()
|
String |
getLinkTitle()
|
String |
getNotLinkBody()
|
String |
getOriginalLinkText()
|
String |
getPageTitle()
Gets the title of the destination content. |
String |
getPostingDay()
|
String |
getShortcutName()
Returns the name of the shortcut. |
String |
getShortcutValue()
Returns the value of the shortcut. |
String |
getSpaceKey()
|
LinkInfo.LinkType |
getType()
|
String |
getUserName()
|
void |
parseAsContentLink()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkInfo(String currentSpaceKey, String currentPageTitle, String linkText, boolean parse)
public LinkInfo(String currentSpaceKey, String currentPageTitle, String linkText, String linkAlias)
public LinkInfo(String currentSpaceKey, String currentPageTitle, String linkText, String linkAlias, String href)
Method Detail |
---|
public void parseAsContentLink()
public String getOriginalLinkText()
public String getLinkBody()
public String getNotLinkBody()
public String getSpaceKey()
public String getPageTitle()
parseAsContentLink()
, empty string otherwise.
public String getPostingDay()
public String getUserName()
public String getAnchor()
public String getHref()
public String getShortcutName()
parseAsContentLink()
. Null if
not parsed as content link or if the link isn't a shortcut link.
public String getShortcutValue()
parseAsContentLink()
. Null if
not parsed as content link or if the link isn't a shortcut link.
public String getAlias()
public String getLinkTitle()
public String getDestinationTitle()
public String getAttachmentName()
public String getContentId()
public static String divideOn(StringBuffer buffer, char divider)
buffer
- the text we want to divide. Will be modified during the operationdivider
- the character to divide the buffer on
public LinkInfo.LinkType getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |