KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > slide > projector > Processor


1 package org.apache.slide.projector;
2
3 import java.util.Map JavaDoc;
4
5 import org.apache.slide.projector.descriptor.ParameterDescriptor;
6 import org.apache.slide.projector.descriptor.ResultDescriptor;
7
8 public interface Processor {
9     /**
10      * Implement this method to provide the logic of the processor
11      *
12      * @param parameter a map containing the parameters for this process call.
13      * This values are typically simple values of type <code>String</code> or
14      * be resource references
15      * @return a array of results
16      * @throws Exception
17      */

18     public Result process(Map JavaDoc parameter, Context context) throws Exception JavaDoc;
19
20     // The following methods describe the behaviour of the processor
21
// The parameters needed
22
public ParameterDescriptor[] getParameterDescriptors();
23
24     // The states/results that this renderer generates
25
public ResultDescriptor getResultDescriptor();
26 }
Popular Tags