public class IdentifiableTransformer<T> extends Object implements FunctionTransformer, Identifiable<T>
Transformer
ChainedTransformer
or MapTransformer
in MapTransformer.isCollectExceptions()
mode, a WrapperException
is thrown with a Map
of Transformer
to each Exception
.Constructor and Description |
---|
IdentifiableTransformer() |
IdentifiableTransformer(T id,
org.apache.commons.collections.Transformer transformer) |
Modifier and Type | Method and Description |
---|---|
T |
getId() |
org.apache.commons.collections.Transformer |
getTransformer() |
void |
setId(T id) |
void |
setTransformer(org.apache.commons.collections.Transformer transformer) |
Object |
transform(Object input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public IdentifiableTransformer()
public IdentifiableTransformer(T id, org.apache.commons.collections.Transformer transformer)
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public org.apache.commons.collections.Transformer getTransformer()
public void setTransformer(org.apache.commons.collections.Transformer transformer)
public T getId()
getId
in interface Identifiable<T>
public void setId(T id)
setId
in interface Identifiable<T>
Copyright © 2018. All rights reserved.