public class LookupChain extends TransformerChain implements Lookup, Chain
Lookup
sTransformerChain.isChainOutput()
is ignored for this implementation, as lookup operations are sequential and the next depends on previous.Constructor and Description |
---|
LookupChain() |
LookupChain(List<Lookup> lookups) |
LookupChain(Lookup lookup) |
Modifier and Type | Method and Description |
---|---|
Object |
chain(Object t) |
List<Lookup> |
getLookups() |
List<? extends Lookup> |
getProcessors()
Gets the
List of processors in the chain |
void |
setLookups(List<Lookup> lookups) |
Object |
transform(Object in)
For a Given String, Lookup a value for it
|
accept, get, getTransformers, isChainOutput, isCollectExceptions, isMaintainContext, setChainOutput, setCollectExceptions, setMaintainContext, setTransformers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public LookupChain()
public LookupChain(Lookup lookup)
public Object transform(Object in)
Lookup
transform
in interface Lookup
transform
in interface org.apache.commons.collections.Transformer
transform
in class TransformerChain
public Object chain(Object t)
chain
in interface Chain
chain
in class TransformerChain
public List<? extends Lookup> getProcessors()
Chain
List
of processors in the chaingetProcessors
in interface Chain
getProcessors
in class TransformerChain
Copyright © 2018. All rights reserved.