@Role
public interface PrintRendererFactory
Renderers of a given type (one factory implementation per Renderer type).
We need a factory since we need to pass a WikiPrinter object to the created Renderer. In addition this
factory allows us to be able to return the Syntax
supported by the Renderer without needing to create an instance of it.| Modifier and Type | Method and Description |
|---|---|
PrintRenderer |
createRenderer(WikiPrinter printer) |
Syntax |
getSyntax() |
Syntax getSyntax()
PrintRenderer createRenderer(WikiPrinter printer)
printer - the printer to use to output renderer dataCopyright © 2004–2021 XWiki. All rights reserved.