org.lexgrid.loader.processor.decorator
Class ListToSingleItemProcessorDecorator<I,O>

java.lang.Object
  extended by org.lexgrid.loader.processor.decorator.ListToSingleItemProcessorDecorator<I,O>
All Implemented Interfaces:
org.springframework.batch.item.ItemProcessor<java.util.List<I>,O>

public class ListToSingleItemProcessorDecorator<I,O>
extends java.lang.Object
implements org.springframework.batch.item.ItemProcessor<java.util.List<I>,O>

The Class ListToSingleItemProcessorDecorator.

Author:
Kevin Peterson

Constructor Summary
ListToSingleItemProcessorDecorator(org.springframework.batch.item.ItemProcessor<I,O> decoratedItemProcessor)
          Instantiates a new list to single item processor decorator.
 
Method Summary
 O process(java.util.List<I> items)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListToSingleItemProcessorDecorator

public ListToSingleItemProcessorDecorator(org.springframework.batch.item.ItemProcessor<I,O> decoratedItemProcessor)
Instantiates a new list to single item processor decorator.

Parameters:
decoratedItemProcessor - the decorated item processor
Method Detail

process

public O process(java.util.List<I> items)
          throws java.lang.Exception
Specified by:
process in interface org.springframework.batch.item.ItemProcessor<java.util.List<I>,O>
Throws:
java.lang.Exception

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.