| org.mmbase.framework.Renderer
All known Subclasses: org.mmbase.framework.AbstractRenderer,
Renderer | public interface Renderer (Code) | | A Renderer renders a certain aspect of a
Block . Currently every block has two renderers,
which are identified by the renderer 'type' (see
Renderer.getType ). Every block also has a
Processor , which is similar to a Renderer, but a processor never generates content, only
handles interaction.
A Renderer is stateless.
author: Michiel Meeuwissen version: $Id: Renderer.java,v 1.19 2008/01/25 09:32:23 michiel Exp $ since: MMBase-1.9 |
Inner Class : enum WindowState | |
getBlock | Block getBlock()(Code) | | Every renderer renders for a certain block.
|
getParameters | Parameter[] getParameters()(Code) | | A renderer may need certain parameters. These are added to the block-parameters. This method
is called on instantation of the renderer.
|
getType | Type getType()(Code) | | Describes what kind of renderer this is
|
getUri | URI getUri()(Code) | | An URI which may identify the implementation of this Renderer.
|
render | void render(Parameters blockParameters, Parameters frameworkParameters, Writer w, WindowState state) throws FrameworkException(Code) | | Renders to a writer. In case of e.g. a JSPView, the parameters must also contain
the Http Servlet response and request, besided specific parameters for this component.
|
|
|