public class PageLink extends AbstractPageLink
anchor, destinationPage, spaceKey
entityName
Constructor and Description |
---|
PageLink(com.atlassian.renderer.links.GenericLinkParser parser,
PageContext pageContext,
PageManager pageManager) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
getDestinationContent() |
boolean |
isOnSamePage(PageContext pageContext) |
static PageLink |
makeTestLink(String linkText,
PageContext context)
Factory for making a link that can be used in tests
|
generateAnchor, generateUnencodedAnchor, generateUniqueAnchor, getAnchor, getLinkBody, getPageTitle, getSpaceKey, setUrlAndTitle, toOutgoingLink
hasDestination, isNoLinkBodyProvided
equals, getOriginalParser, hashCode, setI18nTitle, setTitle
public PageLink(com.atlassian.renderer.links.GenericLinkParser parser, PageContext pageContext, PageManager pageManager) throws ParseException
ParseException
public static PageLink makeTestLink(String linkText, PageContext context) throws ParseException
ParseException
public boolean isOnSamePage(PageContext pageContext)
isOnSamePage
in class AbstractPageLink
public ContentEntityObject getDestinationContent()
getDestinationContent
in class AbstractPageLink
Copyright © 2003–2017 Atlassian. All rights reserved.