public interface Transformer<SOURCE,TARGET>
| Modifier and Type | Method and Description |
|---|---|
TARGET |
transform(SOURCE source,
java.lang.ClassLoader loader)
Transforms the source instance into a new instance of the target type.
|
TARGET transform(SOURCE source, java.lang.ClassLoader loader) throws org.fabric3.api.host.Fabric3Exception
source - the source instanceloader - the classloader for instantiating target typesorg.fabric3.api.host.Fabric3Exception - if there was a problem during the transformation