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