@Internal public class DefaultViewMacroWrapper extends Object implements ViewMacroWrapper
Constructor and Description |
---|
DefaultViewMacroWrapper(XMLEventFactory xmlEventFactory,
XmlEventReaderFactory xmlEventReaderFactory,
XMLOutputFactory xmlOutputFactory,
HtmlToXmlConverter htmlToXmlConverter,
com.atlassian.plugin.event.PluginEventManager pluginEventManager) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
init() |
void |
onPluginModuleDisable(com.atlassian.plugin.event.events.PluginModuleDisabledEvent ignored) |
void |
onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent ignored) |
String |
wrap(ConversionContext context,
Macro.OutputType outputType,
String macroBody,
MacroDefinition macroDefinition,
boolean wrap)
Execute macro wrapping.
|
public DefaultViewMacroWrapper(XMLEventFactory xmlEventFactory, XmlEventReaderFactory xmlEventReaderFactory, XMLOutputFactory xmlOutputFactory, HtmlToXmlConverter htmlToXmlConverter, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
@PostConstruct public void init()
@PreDestroy public void destroy()
public void onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent ignored)
public void onPluginModuleDisable(com.atlassian.plugin.event.events.PluginModuleDisabledEvent ignored)
public String wrap(ConversionContext context, Macro.OutputType outputType, String macroBody, MacroDefinition macroDefinition, boolean wrap)
ViewMacroWrapper
Info macro
wrap
in interface ViewMacroWrapper
context
- the conversion contextoutputType
- output typemacroBody
- rendered macro bodymacroDefinition
- definition of macrowrap
- flag which specifies if macro body has to be wrappedCopyright © 2003–2020 Atlassian. All rights reserved.