public class DefaultViewMacroWrapper extends Object implements ViewMacroWrapper
| Constructor and Description |
|---|
DefaultViewMacroWrapper(XMLEventFactory xmlEventFactory,
XmlEventReaderFactory xmlEventReaderFactory,
XMLOutputFactory xmlOutputFactory,
HtmlToXmlConverter htmlToXmlConverter) |
| Modifier and Type | Method and Description |
|---|---|
Streamable |
executeWrapMacro(ConversionContext context,
Macro macro,
MarshallerMetricsCollector metricsCollector,
MacroDefinition macroDefinition,
Map<String,String> macroParameters)
Execute macro wrapping.
|
public DefaultViewMacroWrapper(XMLEventFactory xmlEventFactory, XmlEventReaderFactory xmlEventReaderFactory, XMLOutputFactory xmlOutputFactory, HtmlToXmlConverter htmlToXmlConverter)
public Streamable executeWrapMacro(ConversionContext context, Macro macro, MarshallerMetricsCollector metricsCollector, MacroDefinition macroDefinition, Map<String,String> macroParameters) throws MacroExecutionException
ViewMacroWrapperInfo macro
executeWrapMacro in interface ViewMacroWrappercontext - the conversion contextmacro - Confluence macrometricsCollector - recording of execution and streaming as seperate
phases. MetricsCollectingMarshallermacroDefinition - definition of macromacroParameters - macro parameterMacroExecutionException - if an error occurs during executingCopyright © 2003–2015 Atlassian. All rights reserved.