Interface CodeMacroSourceFactory
-
@Role @Unstable public interface CodeMacroSourceFactory
Fetch a content to highlight based on its reference.- Since:
- 15.0RC1, 14.10.2
- Version:
- $Id: f83c778785d0b21806621f7a324b2d539e440f10 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodeMacroSource
getContent(org.xwiki.rendering.macro.source.MacroContentSourceReference reference, org.xwiki.rendering.transformation.MacroTransformationContext context)
-
-
-
Method Detail
-
getContent
CodeMacroSource getContent(org.xwiki.rendering.macro.source.MacroContentSourceReference reference, org.xwiki.rendering.transformation.MacroTransformationContext context) throws org.xwiki.rendering.macro.MacroExecutionException
- Parameters:
reference
- the reference of the contentcontext
- the context of the code macro execution- Returns:
- the content to highlight
- Throws:
org.xwiki.rendering.macro.MacroExecutionException
- when failing to get the content- Since:
- 15.1RC1, 14.10.5
-
-