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
ViewMacroWrapper
Info macro
executeWrapMacro
in interface ViewMacroWrapper
context
- the conversion contextmacro
- Confluence macrometricsCollector
- recording of execution and streaming as seperate
phases. MetricsCollectingMarshaller
macroDefinition
- definition of macromacroParameters
- macro parameterMacroExecutionException
- if an error occurs during executingCopyright © 2003–2015 Atlassian. All rights reserved.