org.jboss.errai.common.client.types
Class TypeHandlerFactory
java.lang.Object
org.jboss.errai.common.client.types.TypeHandlerFactory
public class TypeHandlerFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeHandlerFactory
public TypeHandlerFactory()
getHandler
public static Map<Class,TypeHandler> getHandler(Class from)
convert
public static <T> T convert(Object value,
Class<T> to)
convert
public static <T> T convert(Class from,
Class<T> to,
Object value)
addHandler
public static void addHandler(Class from,
Class to,
TypeHandler handler)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.