public class RWikiBaseRenderEngine extends Object implements RenderEngine
| Modifier and Type | Field and Description |
|---|---|
protected FilterPipe |
fp |
protected InitialRenderContext |
initialContext |
| Constructor and Description |
|---|
RWikiBaseRenderEngine() |
RWikiBaseRenderEngine(InitialRenderContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMacro(Macro macro) |
String |
getName()
Name of the RenderEngine.
|
void |
init() |
String |
render(Reader in,
RenderContext context)
Render an input with text markup from a Reader and write the result to a
writer
|
String |
render(String content,
RenderContext context)
Render an input with text markup and return a String with e.g.
|
void |
render(Writer out,
String content,
RenderContext context) |
protected InitialRenderContext initialContext
protected FilterPipe fp
public RWikiBaseRenderEngine()
public RWikiBaseRenderEngine(InitialRenderContext context)
public void init()
public String getName()
getName in interface RenderEnginepublic String render(String content, RenderContext context)
render in interface RenderEnginecontent - String with the input to rendercontext - Special context for the filter engine, e.g. with configuration
informationpublic String render(Reader in, RenderContext context) throws IOException
render in interface RenderEnginein - Reader to read the input fromcontext - Special context for the render engine, e.g. with configuration
informationIOExceptionpublic void render(Writer out, String content, RenderContext context) throws IOException
render in interface RenderEngineIOExceptionpublic void addMacro(Macro macro)
addMacro in interface RenderEngineCopyright © 2003–2016 Sakai Project. All rights reserved.