Class MacroUtils
- java.lang.Object
-
- com.atlassian.confluence.renderer.radeox.macros.MacroUtils
-
public class MacroUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description MacroUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.velocity.context.Context
createDefaultVelocityContext()
static Map<String,Object>
defaultVelocityContext()
Creates a default velocity context populated with the classes macro Velocity templates need.static Map<String,Object>
defaultVelocityContext(@Nullable Space space)
static com.opensymphony.xwork2.Action
getConfluenceActionSupport()
static ContentEntityObject
getContentEntityObject(org.radeox.macro.parameter.MacroParameter macroParameter)
static Map<String,Object>
requiredVelocityContext(List<String> requiredKeys)
-
-
-
Method Detail
-
defaultVelocityContext
public static Map<String,Object> defaultVelocityContext()
Creates a default velocity context populated with the classes macro Velocity templates need.
-
defaultVelocityContext
public static Map<String,Object> defaultVelocityContext(@Nullable Space space)
-
requiredVelocityContext
public static Map<String,Object> requiredVelocityContext(List<String> requiredKeys)
-
createDefaultVelocityContext
public static org.apache.velocity.context.Context createDefaultVelocityContext()
-
getConfluenceActionSupport
public static com.opensymphony.xwork2.Action getConfluenceActionSupport()
-
getContentEntityObject
public static ContentEntityObject getContentEntityObject(org.radeox.macro.parameter.MacroParameter macroParameter)
-
-