public class PropertyTransformerFactory extends Object
| Constructor and Description |
|---|
PropertyTransformerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PropertyTransformer |
newTransformer(Class clazzToTransform,
Class<? extends PropertyTransformer> tc)
Returns property transformer or throws
TransformationException if can't
create new one. |
public static PropertyTransformer newTransformer(Class clazzToTransform, Class<? extends PropertyTransformer> tc) throws TransformationException
TransformationException if can't
create new one.clazzToTransform - Class that will is going to be transformedtc - PropertyTransformer class
that will be instantiatedTransformationException - if can't instantiate
PropertyTransformerCopyright © 2014–2015. All rights reserved.