Class TransformNonUserMacroCondition

  extended by
All Implemented Interfaces:

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:

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

Constructor Summary
TransformNonUserMacroCondition(MacroManager xhtmlMacroManager)
Method Summary
 boolean shouldTransform(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 TransformNonUserMacroCondition(MacroManager xhtmlMacroManager)
Method Detail


public boolean shouldTransform(String macroName)
Description copied from interface: MacroBodyTransformationCondition
Returns true if the macro body should be transformed, false otherwise.

Specified by:
shouldTransform in interface MacroBodyTransformationCondition
macroName - macro name

Copyright © 2003-2013 Atlassian. All Rights Reserved.