org.xwiki.rendering.renderer
Interface PrintRendererFactory
@Role
public interface PrintRendererFactory
Allows creating 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.
- Since:
- 1.6M2
- Version:
- $Id: 07237c49a3f11c5442616e58026bfc4cdce106d9 $
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
Copyright © 2004-2013 XWiki. All Rights Reserved.