| java.lang.Object org.apache.commons.collections.functors.InstantiateTransformer
InstantiateTransformer | public class InstantiateTransformer implements Transformer,Serializable(Code) | | Transformer implementation that creates a new object instance by reflection.
since: Commons Collections 3.0 version: $Revision: 348444 $ $Date: 2005-11-23 14:06:56 +0000 (Wed, 23 Nov 2005) $ author: Stephen Colebourne |
NO_ARG_INSTANCE | final public static Transformer NO_ARG_INSTANCE(Code) | | Singleton instance that uses the no arg constructor
|
InstantiateTransformer | public InstantiateTransformer(Class[] paramTypes, Object[] args)(Code) | | Constructor that performs no validation.
Use getInstance if you want that.
Parameters: paramTypes - the constructor parameter types, not cloned Parameters: args - the constructor arguments, not cloned |
getInstance | public static Transformer getInstance(Class[] paramTypes, Object[] args)(Code) | | Transformer method that performs validation.
Parameters: paramTypes - the constructor parameter types Parameters: args - the constructor arguments an instantiate transformer |
transform | public Object transform(Object input)(Code) | | Transforms the input Class object to a result by instantiation.
Parameters: input - the input object to transform the transformed result |
|
|