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

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

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


Constructor Summary
SingleItemToListProcessorDecorator(org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>> decoratedItemProcessor)
           
 
Method Summary
 java.util.List<O> process(I item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleItemToListProcessorDecorator

public SingleItemToListProcessorDecorator(org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>> decoratedItemProcessor)
Method Detail

process

public java.util.List<O> process(I item)
                          throws java.lang.Exception
Specified by:
process in interface org.springframework.batch.item.ItemProcessor<I,java.util.List<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.