public class ValueHandlerFactory extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ValueHandlerFactory.BaseValueHandler<T> | 
| static class  | ValueHandlerFactory.BigDecimalValueHandler | 
| static class  | ValueHandlerFactory.BigIntegerValueHandler | 
| static class  | ValueHandlerFactory.BooleanValueHandler | 
| static class  | ValueHandlerFactory.ByteValueHandler | 
| static class  | ValueHandlerFactory.DoubleValueHandler | 
| static class  | ValueHandlerFactory.FloatValueHandler | 
| static class  | ValueHandlerFactory.IntegerValueHandler | 
| static class  | ValueHandlerFactory.LongValueHandler | 
| static class  | ValueHandlerFactory.NoOpValueHandler<T> | 
| static class  | ValueHandlerFactory.ShortValueHandler | 
| static class  | ValueHandlerFactory.StringValueHandler | 
| static interface  | ValueHandlerFactory.ValueHandler<T> | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | convert(Object value,
       Class<T> targetType)Convert the given value into the specified target type. | 
| static <T> ValueHandlerFactory.ValueHandler<T> | determineAppropriateHandler(Class<T> targetType)Determine the appropriate  ValueHandlerFactory.ValueHandlerstrategy for converting a value
 to the given target type | 
| static boolean | isBoolean(Object value) | 
| static boolean | isCharacter(Class type) | 
| static boolean | isCharacter(Object value) | 
| static boolean | isNumeric(Class type) | 
| static boolean | isNumeric(Object value) | 
public static boolean isCharacter(Class type)
public static boolean isCharacter(Object value)
public static boolean isNumeric(Class type)
public static boolean isNumeric(Object value)
public static boolean isBoolean(Object value)
public static <T> T convert(Object value, Class<T> targetType)
value - The value to converttargetType - The type to which it should be convertedpublic static <T> ValueHandlerFactory.ValueHandler<T> determineAppropriateHandler(Class<T> targetType)
ValueHandlerFactory.ValueHandler strategy for converting a value
 to the given target typeT - parameterized type for the target type.targetType - The target type (to which we want to convert values).Copyright © 2016 JBoss by Red Hat. All rights reserved.