|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.radeox.engine.BaseRenderEngine
Base implementation of RenderEngine
Field Summary | |
protected FilterPipe |
fp
|
protected InitialRenderContext |
initialContext
|
Constructor Summary | |
BaseRenderEngine()
|
|
BaseRenderEngine(InitialRenderContext context)
|
Method Summary | |
java.lang.String |
getName()
Name of the RenderEngine. |
protected void |
init()
|
java.lang.String |
render(java.io.Reader in,
RenderContext context)
Render an input with text markup from a Reader and write the result to a writer |
java.lang.String |
render(java.lang.String content,
RenderContext context)
Render an input with text markup and return a String with e.g. |
void |
render(java.io.Writer out,
java.lang.String content,
RenderContext context)
Render an input with text markup and an write the result e.g. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected InitialRenderContext initialContext
protected FilterPipe fp
Constructor Detail |
public BaseRenderEngine(InitialRenderContext context)
public BaseRenderEngine()
Method Detail |
protected void init()
public java.lang.String getName()
getName
in interface RenderEngine
public java.lang.String render(java.lang.String content, RenderContext context)
render
in interface RenderEngine
content
- String with the input to rendercontext
- Special context for the filter engine, e.g. with
configuration information
public java.lang.String render(java.io.Reader in, RenderContext context) throws java.io.IOException
render
in interface RenderEngine
in
- Reader to read the input fromcontext
- Special context for the render engine, e.g. with
configuration information
java.io.IOException
public void render(java.io.Writer out, java.lang.String content, RenderContext context) throws java.io.IOException
RenderEngine
render
in interface RenderEngine
out
- Writer to write the output tocontent
- String with the input to rendercontext
- Special context for the render engine, e.g. with
configuration information
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |