Class IncludePageMacroLink

  extended by com.atlassian.renderer.links.Link
      extended by com.atlassian.confluence.links.linktypes.IncludePageMacroLink

public class IncludePageMacroLink
extends com.atlassian.renderer.links.Link

{include} macros are actually treated as links by the renderer. This is so that the LinkResolver will find these macros during link refactoring. The effect of this is that when a page is renamed, any macros including that page will be fixed to include the renamed page.

Field Summary
static Pattern pattern
Fields inherited from class com.atlassian.renderer.links.Link
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle
Constructor Summary
IncludePageMacroLink(String linkText)
Method Summary
 boolean isValid()
 OutgoingLink toOutgoingLink(ContentEntityObject sourceContent)
Methods inherited from class com.atlassian.renderer.links.Link
equals, getIconName, getLinkAttributes, getLinkBody, getOriginalLinkText, getTitle, getTitleArgs, getTitleKey, getUnpermittedLinkBody, getUrl, getWikiDestination, getWikiTitle, hashCode, isAliasSpecified, isRelativeUrl
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final Pattern pattern
Constructor Detail


public IncludePageMacroLink(String linkText)
Method Detail


public boolean isValid()


public OutgoingLink toOutgoingLink(ContentEntityObject sourceContent)

Copyright © 2003–2015 Atlassian. All rights reserved.