Class TransformNonUserMacroCondition

java.lang.Object
com.atlassian.confluence.content.render.xhtml.storage.macro.TransformNonUserMacroCondition
All Implemented Interfaces:
MacroBodyTransformationCondition

public class TransformNonUserMacroCondition extends Object implements MacroBodyTransformationCondition
Returns true if the specified macro is not a user macro.

This condition has been introduced for the sake of content that was migrated while it was on confxhtml (i.e. the CONFDEV, QA and tech writing spaces). That is, this class is not relevant for customer data.

Specifically, there were user macros in these spaces that:

  • produced INLINE output
  • had rich text bodies that contain nested or block markup

Until we find a way to represent INLINE macros with nested macros and block markup, we should keep this condition around.