public interface Processor
Block. It is like a Renderer, but it renders
nothing, it only can change the state of the block, and hence influence the renderers.
The other difference is that there be several Blocks in a request, which are all
rendered, but at most one of them has its Processor executed.
Processing itself happens with the process(org.mmbase.util.functions.Parameters) method, which is typically done using Framework.process(org.mmbase.framework.Processor, org.mmbase.util.functions.Parameters, org.mmbase.util.functions.Parameters).| Modifier and Type | Method and Description |
|---|---|
Block |
getBlock()
Every processor processes for a certain block.
|
Parameter[] |
getParameters()
A processor may need certain parameters.
|
URI |
getUri()
An URI which may identify the implementation of this Renderer.
|
void |
process(Parameters blockParameters)
Process.
|
Block getBlock()
Parameter[] getParameters()
void process(Parameters blockParameters) throws FrameworkException
FrameworkExceptionURI getUri()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}