public class UsesIntermediateObjectWrapper<T extends org.apache.commons.collections.Transformer> extends UsesIntermediateObjectImpl implements FunctionTransformer, Lookup
Transformer
, Lookup
to be wrapped in this to allow for re-suing existing processors instead of extending UsesIntermediateObjectImpl
for every new use case.
intermediateResults, resultNamesUsed, resultsThatAreOptional
Constructor and Description |
---|
UsesIntermediateObjectWrapper() |
Modifier and Type | Method and Description |
---|---|
T |
getProcessor()
The Transformer / Lookup that will do the actual transformation on the Intermediate Object
|
void |
setProcessor(T processor)
The Transformer / Lookup that will do the actual transformation on the Intermediate Object
|
Object |
transform(Object input)
Inherited
If #setIntermediateResult(Object) is used, then the transformation will use that and not the supplied value. |
determineInput, getInputFromContext, getInterMediateResults, getResultNamesThatAreOptional, getResultNamesUsed, setIntermediateResults, setResultNamesThatAreOptional, setResultNamesUsed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public Object transform(Object input)
Inherited
#setIntermediateResult(Object)
is used, then the transformation will use that and not the supplied value.public T getProcessor()
public void setProcessor(T processor)
Copyright © 2018. All rights reserved.