com.atlassian.confluence.macro.wiki
Class UnmigratedInlineWikiMarkupMacro

java.lang.Object
  extended by com.atlassian.confluence.macro.wiki.UnmigratedInlineWikiMarkupMacro
All Implemented Interfaces:
Macro

public class UnmigratedInlineWikiMarkupMacro
extends Object
implements Macro

This macro will render it's body using the V2 Renderer.
The body of this macro is intended to consist of wiki markup that renders to inline markup.

Since:
4.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.confluence.macro.Macro
Macro.BodyType, Macro.OutputType
 
Field Summary
static String DISABLE_ANTISAMY_FEATURE_KEY
           
static String MACRO_NAME
           
 
Constructor Summary
UnmigratedInlineWikiMarkupMacro()
           
 
Method Summary
 String execute(Map<String,String> parameters, String body, ConversionContext context)
           
 Macro.BodyType getBodyType()
          The type of body that this macro has, this is used to infer the migration task if no custom one is provided.
 Macro.OutputType getOutputType()
           
 void setSubRenderer(com.atlassian.renderer.v2.SubRenderer subRenderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLE_ANTISAMY_FEATURE_KEY

public static final String DISABLE_ANTISAMY_FEATURE_KEY
See Also:
Constant Field Values

MACRO_NAME

public static final String MACRO_NAME
See Also:
Constant Field Values
Constructor Detail

UnmigratedInlineWikiMarkupMacro

public UnmigratedInlineWikiMarkupMacro()
Method Detail

setSubRenderer

public void setSubRenderer(com.atlassian.renderer.v2.SubRenderer subRenderer)

execute

public String execute(Map<String,String> parameters,
                      String body,
                      ConversionContext context)
               throws MacroExecutionException
Specified by:
execute in interface Macro
Throws:
MacroExecutionException

getBodyType

public Macro.BodyType getBodyType()
Description copied from interface: Macro
The type of body that this macro has, this is used to infer the migration task if no custom one is provided.

Specified by:
getBodyType in interface Macro
Returns:
The type of body this macro has.

getOutputType

public Macro.OutputType getOutputType()
Specified by:
getOutputType in interface Macro


Copyright © 2003–2015 Atlassian. All rights reserved.