|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexgrid.loader.processor.decorator.RootNodeAddingDecorator<I,O>
public class RootNodeAddingDecorator<I,O>
The Class RootNodeAddingDecorator.
Constructor Summary | |
---|---|
RootNodeAddingDecorator(org.springframework.batch.item.ItemProcessor<I,O> itemProcessor)
Instantiates a new root node adding decorator. |
Method Summary | |
---|---|
RootNodeResolver<O> |
getRootNodeResolver()
Gets the root node resolver. |
boolean |
isReplaceRelation()
Checks if is replace relation. |
java.util.List<O> |
process(I item)
|
protected O |
processRootNode(O item)
Process root node. |
void |
setReplaceRelation(boolean replaceRelation)
Sets the replace relation. |
void |
setRootNodeResolver(RootNodeResolver<O> rootNodeResolver)
Sets the root node resolver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RootNodeAddingDecorator(org.springframework.batch.item.ItemProcessor<I,O> itemProcessor)
itemProcessor
- the item processorMethod Detail |
---|
public java.util.List<O> process(I item) throws java.lang.Exception
process
in interface org.springframework.batch.item.ItemProcessor<I,java.util.List<O>>
java.lang.Exception
protected O processRootNode(O item) throws java.lang.Exception
item
- the item
java.lang.Exception
- the exceptionpublic RootNodeResolver<O> getRootNodeResolver()
getRootNodeResolver
in interface RootResolvingNodeDecorator<I,O>
public void setRootNodeResolver(RootNodeResolver<O> rootNodeResolver)
setRootNodeResolver
in interface RootResolvingNodeDecorator<I,O>
rootNodeResolver
- the new root node resolverpublic boolean isReplaceRelation()
isReplaceRelation
in interface RootResolvingNodeDecorator<I,O>
public void setReplaceRelation(boolean replaceRelation)
setReplaceRelation
in interface RootResolvingNodeDecorator<I,O>
replaceRelation
- the new replace relation
|
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. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |