com.atlassian.confluence.links.linktypes
Class IncludePageMacroLink

java.lang.Object
  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 java.util.regex.Pattern pattern
           
 
Fields inherited from class com.atlassian.renderer.links.Link
aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle
 
Constructor Summary
IncludePageMacroLink(java.lang.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

pattern

public static final java.util.regex.Pattern pattern
Constructor Detail

IncludePageMacroLink

public IncludePageMacroLink(java.lang.String linkText)
Method Detail

isValid

public boolean isValid()

toOutgoingLink

public OutgoingLink toOutgoingLink(ContentEntityObject sourceContent)


Copyright © 2003-2014 Atlassian. All Rights Reserved.