public abstract class Processors extends java.lang.Object implements ToolkitFactory
ProcessorToolkitFactory.Utils| Constructor and Description | 
|---|
| Processors() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract <R> Processor<R> | getProcessor(Contributor contributor,
            java.lang.Class<R> representation,
            Context context)Returns a Contributor Processor, which can be used to process the objects produced by the contributor
 in a given Context. | 
| abstract <R> Processor<R> | getProcessor(Contributor contributor,
            java.lang.Class<R> representation,
            java.lang.Object target,
            Context context)Returns a Contributor Processor, which can be used to process the objects produced by the contributor
 in a given Context. | 
| static Processors | getProcessors() | 
| abstract <R> StatefulProcessor<R> | getStatefulProcessor(Contributor contributor,
                    java.lang.Class<R> representation,
                    Context context) | 
| abstract <R> StatefulProcessor<R> | getStatefulProcessor(Contributor contributor,
                    java.lang.Class<R> representation,
                    java.lang.Object target,
                    Context context) | 
public static Processors getProcessors()
public abstract <R> Processor<R> getProcessor(Contributor contributor, java.lang.Class<R> representation, Context context) throws ContribException
R - the type of representationcontributor - the Contributor for which the Processor should be retreived.representation - the representation that the Processor should support. The Processor's iterator
 will return objects of this class.context - the context in which the Processor should operate.ContribException - if a Processor cannot be constructed for given arguments.public abstract <R> Processor<R> getProcessor(Contributor contributor, java.lang.Class<R> representation, java.lang.Object target, Context context) throws ContribException
R - the type of representationcontributor - the Contributor for which the Processor should be retreived.representation - the representation that the Processor should support. The Processor's iterator
 will return objects of this class.target - data object for the Processor, defaults to context.getElement()context - the context in which the Processor should operate.ContribException - if a Processor cannot be constructed for given arguments.public abstract <R> StatefulProcessor<R> getStatefulProcessor(Contributor contributor, java.lang.Class<R> representation, Context context) throws ContribException
ContribExceptionpublic abstract <R> StatefulProcessor<R> getStatefulProcessor(Contributor contributor, java.lang.Class<R> representation, java.lang.Object target, Context context) throws ContribException
ContribException