| 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 Methods |
|
boolean
|
shouldTransform(String macroName)
Returns true if the macro body should be transformed, false otherwise.
|
Public Constructors
public
AnnotationMacroBodyTranformationCondition
(MacroManager macroManager)
Public Methods
public
boolean
shouldTransform
(String macroName)
Returns true if the macro body should be transformed, false otherwise.