|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Processor
A Processor handles interaction of a 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).
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
Block getBlock()
Parameter[] getParameters()
void process(Parameters blockParameters)
throws FrameworkException
FrameworkExceptionURI getUri()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||