public interface Transformer
Transformer converts the input object to the output object.
The input object should be left unchanged.
Transformers are typically used for type conversions, or extracting data
from an object.
Standard implementations of common transformers are provided by
TransformerUtils. These include method invokation, returning a constant,
cloning and returning the string value.
input- the object to be transformed, should be left unchanged
ClassCastException- (runtime) if the input is the wrong class
IllegalArgumentException- (runtime) if the input is invalid
FunctorException- (runtime) if the transform cannot be completed
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.