Interface MacroDefinitionUpdater
-
public interface MacroDefinitionUpdaterUpdater ofMacroDefinitions in storage format. SeeXhtmlContent.updateMacroDefinitions(java.lang.String, com.atlassian.confluence.content.render.xhtml.ConversionContext, com.atlassian.confluence.xhtml.api.MacroDefinitionUpdater)for more detail.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MacroDefinitionupdate(MacroDefinition macroDefinition)Called each time a macro definition is found in the content so that each definition may be modified or replaced by another definition.
-
-
-
Method Detail
-
update
MacroDefinition update(MacroDefinition macroDefinition)
Called each time a macro definition is found in the content so that each definition may be modified or replaced by another definition.- Parameters:
macroDefinition- of the macro found in the content.- Returns:
- a MacroDefinition to be placed in the resulting content, in place of the original definition and its
body. Typically this will be the {code macroDefinition} parameter, which may have been
modified. A
nullindicates that the macro should be removed.
-
-