|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.storage.macro.AnnotationMacroBodyTranformationCondition
public class AnnotationMacroBodyTranformationCondition
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.
RequiresFormat
,
Format
,
Macro
Constructor Summary | |
---|---|
AnnotationMacroBodyTranformationCondition(MacroManager macroManager)
|
Method Summary | |
---|---|
boolean |
shouldTransform(java.lang.String macroName)
Returns true if the macro body should be transformed, false otherwise. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationMacroBodyTranformationCondition(MacroManager macroManager)
Method Detail |
---|
public boolean shouldTransform(java.lang.String macroName)
MacroBodyTransformationCondition
shouldTransform
in interface MacroBodyTransformationCondition
macroName
- macro name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |