public interface MacroDefinitionReplacer
MacroDefinition
s in storage format with other content.
See XhtmlContent.replaceMacroDefinitionsWithString(java.lang.String, com.atlassian.confluence.content.render.xhtml.ConversionContext, com.atlassian.confluence.xhtml.api.MacroDefinitionReplacer)
for more detail.Modifier and Type | Method and Description |
---|---|
String |
replace(MacroDefinition macroDefinition)
Called each time a macro definition is found in the content, so that each definition may be replaced
different content.
|
String replace(MacroDefinition macroDefinition) throws XhtmlException
macroDefinition
- of the macro found in the content.null
indicates that the macro should be removed.XhtmlException
- if there is a problem creating the modified fragment.Copyright © 2003–2019 Atlassian. All rights reserved.