org.mmbase.framework
Class JspProcessor

java.lang.Object
  extended by org.mmbase.framework.AbstractProcessor
      extended by org.mmbase.framework.JspProcessor
All Implemented Interfaces:
Processor

public class JspProcessor
extends AbstractProcessor

A Processor implementation based on a jsp in the /mmbase/components/ directory.

Since:
MMBase-1.9
Version:
$Id: JspProcessor.java 41989 2010-04-20 16:45:39Z michiel $
Author:
Michiel Meeuwissen

Field Summary
protected  String path
           
 
Fields inherited from class org.mmbase.framework.AbstractProcessor
parent
 
Constructor Summary
JspProcessor(String p, Block parent)
           
 
Method Summary
 Parameter<?>[] getParameters()
          A processor may need certain parameters.
 String getPath()
           
 URI getUri()
          An URI which may identify the implementation of this Renderer.
 void process(Parameters blockParameters)
          Process.
 String toString()
           
 
Methods inherited from class org.mmbase.framework.AbstractProcessor
getBlock, getEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

path

protected final String path
Constructor Detail

JspProcessor

public JspProcessor(String p,
                    Block parent)
Method Detail

getPath

public String getPath()

getParameters

public Parameter<?>[] getParameters()
Description copied from interface: Processor
A processor may need certain parameters. These are added to the block-parameters. This method is called on instantation of the processor.


process

public void process(Parameters blockParameters)
             throws FrameworkException
Description copied from interface: Processor
Process. In case of e.g. a JSPProcessor, the parameters must also contain the Http Servlet response and request, besided specific parameters for this component.

Throws:
FrameworkException

toString

public String toString()
Overrides:
toString in class Object

getUri

public URI getUri()
Description copied from interface: Processor
An URI which may identify the implementation of this Renderer.

Specified by:
getUri in interface Processor
Overrides:
getUri in class AbstractProcessor


MMBase 2.0-SNAPSHOT - null