public class InstantiateTransformer extends Object implements Transformer, Serializable
| Modifier and Type | Field and Description |
|---|---|
static Transformer |
NO_ARG_INSTANCE
Singleton instance that uses the no arg constructor
|
| Constructor and Description |
|---|
InstantiateTransformer(Class[] paramTypes,
Object[] args)
Constructor that performs no validation.
|
| Modifier and Type | Method and Description |
|---|---|
static Transformer |
getInstance(Class[] paramTypes,
Object[] args)
Transformer method that performs validation.
|
Object |
transform(Object input)
Transforms the input Class object to a result by instantiation.
|
public static final Transformer NO_ARG_INSTANCE
public static Transformer getInstance(Class[] paramTypes, Object[] args)
paramTypes - the constructor parameter typesargs - the constructor argumentspublic Object transform(Object input)
transform in interface Transformerinput - the input object to transformCopyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.