org.jplate.foundation.processor
Interface ProcessorIfc<V>

Type Parameters:
V - The object to be processed.
All Known Subinterfaces:
ChainOfResponsibilityIfc<V,P>
All Known Implementing Classes:
DefaultChainOfResponsibility

public interface ProcessorIfc<V>

Defines an object who can process a value and potentially return a new version of said object.

Modifications:
    $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
    $Revision: 479 $
    $Author: sfloess $
    $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/processor/ProcessorIfc.java $
    


Method Summary
 V process(V toProcess)
          Requests toProcess to be processed.
 

Method Detail

process

V process(V toProcess)
          throws ProcessException
Requests toProcess to be processed.

Parameters:
toProcess - The object to process.
Returns:
The processed object.
Throws:
ProcessException - if any problem arises processing toProcess.