public class Transformer extends Object
| Constructor and Description |
|---|
Transformer() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPrimitive(Class<?> type) |
static boolean |
isTransformable(Class<?> type) |
static Transform<?> |
lookup(Class<?> type)
Get transformer for type
|
static Object |
read(String value,
Class<?> type) |
static void |
register(Class<?> type,
Transform<?> transform)
Register custom transformable for a Java primitive type or a frequently used Java type.
|
static String |
write(Object value,
Class<?> type) |
public static boolean isTransformable(Class<?> type)
public static boolean isPrimitive(Class<?> type)
public static void register(Class<?> type, Transform<?> transform)
type - a Java primitive type or a frequently used Java type.transform - a class implementing @see org.abubu.elio.binder.transform.Transformable interface.Copyright © 2016. All rights reserved.