org.radeox.engine
Class BaseRenderEngine
java.lang.Object
|
+--org.radeox.engine.BaseRenderEngine
- All Implemented Interfaces:
- RenderEngine
- public class BaseRenderEngine
- extends java.lang.Object
- implements RenderEngine
Base implementation of RenderEngine
- Version:
- $Id: BaseRenderEngine.java,v 1.15 2003/10/07 08:20:24 stephan Exp $
- Author:
- Stephan J. Schmidt
Method Summary |
java.lang.String |
getName()
Name of the RenderEngine. |
protected void |
init()
|
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 |
fp
protected FilterPipe fp
BaseRenderEngine
public BaseRenderEngine(InitialRenderContext context)
BaseRenderEngine
public BaseRenderEngine()
init
protected void init()
getName
public java.lang.String getName()
- Name of the RenderEngine. This is used to get a RenderEngine instance
with EngineManager.getInstance(name);
- Specified by:
getName
in interface RenderEngine
- Returns:
- name Name of the engine
render
public java.lang.String render(java.lang.String content,
RenderContext context)
- Render an input with text markup and return a String with
e.g. HTML
- Specified by:
render
in interface RenderEngine
- Parameters:
content
- String with the input to rendercontext
- Special context for the filter engine, e.g. with
configuration information
- Returns:
- result Output with rendered content
render
public void render(java.io.Writer out,
java.lang.String content,
RenderContext context)
throws java.io.IOException
- Description copied from interface:
RenderEngine
- Render an input with text markup and an write the result
e.g. HTML to a writer
- Specified by:
render
in interface RenderEngine
- Parameters:
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
Copyright © 2003 Matthias L. Jugel, Stephan J. Schmidt. All Rights Reserved.