Package org.xwiki.rendering.renderer
Interface PrintRendererFactory
-
@Role public interface PrintRendererFactory
Allows creatingRenderer
s of a given type (one factory implementation per Renderer type). We need a factory since we need to pass aWikiPrinter
object to the created Renderer. In addition this factory allows us to be able to return theSyntax
supported by the Renderer without needing to create an instance of it.- Since:
- 1.6M2
- Version:
- $Id: 19eb67d281d75a115a26067452087f528243bfb7 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrintRenderer
createRenderer(WikiPrinter printer)
Syntax
getSyntax()
-
-
-
Method Detail
-
getSyntax
Syntax getSyntax()
- Returns:
- the Syntax supported by the Renderer type
- Since:
- 2.0M3
-
createRenderer
PrintRenderer createRenderer(WikiPrinter printer)
- Parameters:
printer
- the printer to use to output renderer data- Returns:
- a new Renderer instance (stateful)
- Since:
- 2.0M3
-
-