public class ExcerptMacro
extends com.atlassian.renderer.v2.macro.BaseMacro
Note that the actual content property stored with the page will be wiki markup. Other macros that include the excerpt (such as the excerpt-include) will need to be render it with the correct context so that things like links, images etc.. are rendered and displayed correctly.
Constructor and Description |
---|
ExcerptMacro() |
Modifier and Type | Method and Description |
---|---|
String |
execute(Map parameters,
String body,
com.atlassian.renderer.RenderContext renderContext) |
com.atlassian.renderer.v2.RenderMode |
getBodyRenderMode() |
com.atlassian.renderer.TokenType |
getTokenType(Map parameters,
String body,
com.atlassian.renderer.RenderContext context) |
boolean |
hasBody() |
boolean |
isInline() |
public com.atlassian.renderer.TokenType getTokenType(Map parameters, String body, com.atlassian.renderer.RenderContext context)
getTokenType
in interface com.atlassian.renderer.v2.macro.Macro
getTokenType
in class com.atlassian.renderer.v2.macro.BaseMacro
public boolean isInline()
isInline
in interface com.atlassian.renderer.v2.macro.Macro
isInline
in class com.atlassian.renderer.v2.macro.BaseMacro
public boolean hasBody()
public com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
Copyright © 2003–2017 Atlassian. All rights reserved.