|
||||||||||
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.BaseLink com.atlassian.confluence.links.linktypes.AbstractContentEntityLink com.atlassian.confluence.links.linktypes.AbstractPageLink com.atlassian.confluence.links.linktypes.PageLink
public class PageLink
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.links.linktypes.AbstractPageLink |
---|
anchor, destinationPage, spaceKey |
Fields inherited from class com.atlassian.confluence.links.linktypes.AbstractContentEntityLink |
---|
entityName |
Fields inherited from class com.atlassian.renderer.links.Link |
---|
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle |
Constructor Summary | |
---|---|
PageLink(com.atlassian.renderer.links.GenericLinkParser parser,
PageContext pageContext,
PageManager pageManager)
|
Method Summary | |
---|---|
ContentEntityObject |
getDestinationContent()
|
boolean |
isOnSamePage(PageContext pageContext)
|
static PageLink |
makeTestLink(java.lang.String linkText,
PageContext context)
Factory for making a link that can be used in tests |
Methods inherited from class com.atlassian.confluence.links.linktypes.AbstractPageLink |
---|
generateAnchor, generateUnencodedAnchor, generateUniqueAnchor, getAnchor, getLinkBody, getPageTitle, getSpaceKey, setUrlAndTitle, toOutgoingLink |
Methods inherited from class com.atlassian.confluence.links.linktypes.AbstractContentEntityLink |
---|
hasDestination, isNoLinkBodyProvided |
Methods inherited from class com.atlassian.renderer.links.BaseLink |
---|
equals, getOriginalParser, hashCode, setI18nTitle, setTitle |
Methods inherited from class com.atlassian.renderer.links.Link |
---|
getIconName, getLinkAttributes, getOriginalLinkText, getTitle, getTitleArgs, getTitleKey, getUnpermittedLinkBody, getUrl, getWikiDestination, getWikiTitle, isAliasSpecified, isRelativeUrl |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageLink(com.atlassian.renderer.links.GenericLinkParser parser, PageContext pageContext, PageManager pageManager) throws java.text.ParseException
java.text.ParseException
Method Detail |
---|
public static PageLink makeTestLink(java.lang.String linkText, PageContext context) throws java.text.ParseException
java.text.ParseException
public boolean isOnSamePage(PageContext pageContext)
isOnSamePage
in class AbstractPageLink
public ContentEntityObject getDestinationContent()
getDestinationContent
in class AbstractPageLink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |