public class

AnnotationMacroBodyTranformationCondition

extends Object
implements MacroBodyTransformationCondition
java.lang.Object
   ↳ com.atlassian.confluence.content.render.xhtml.storage.macro.AnnotationMacroBodyTranformationCondition

Class Overview

Allows macro body transformation based on the RequiresFormat annotation on the Macro class. The default behaviour if no annotation is provided is to do the transformation.

Summary

Public Constructors
AnnotationMacroBodyTranformationCondition(MacroManager macroManager)
Public Methods
boolean shouldTransform(String macroName)
Returns true if the macro body should be transformed, false otherwise.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.content.render.xhtml.storage.macro.MacroBodyTransformationCondition

Public Constructors

public AnnotationMacroBodyTranformationCondition (MacroManager macroManager)

Public Methods

public boolean shouldTransform (String macroName)

Returns true if the macro body should be transformed, false otherwise.

Parameters
macroName macro name