public class PropertyHelper extends Object
| Constructor and Description |
|---|
PropertyHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getConvertedValue(Object obj,
Field field,
Map<String,String> props,
String prop,
boolean check_scope) |
static Object |
getConvertedValue(Object obj,
Field field,
String value,
boolean check_scope) |
static Object |
getConvertedValue(Object obj,
Method method,
Map<String,String> props,
String prop,
boolean check_scope) |
static String |
getPropertyName(Field field,
Map<String,String> props) |
static String |
getPropertyName(Method method) |
static boolean |
usesDefaultConverter(Field field) |
protected static final Log log
public static String getPropertyName(Field field, Map<String,String> props) throws IllegalArgumentException
IllegalArgumentExceptionpublic static String getPropertyName(Method method) throws IllegalArgumentException
IllegalArgumentExceptionpublic static Object getConvertedValue(Object obj, Field field, Map<String,String> props, String prop, boolean check_scope) throws Exception
Exceptionpublic static Object getConvertedValue(Object obj, Field field, String value, boolean check_scope) throws Exception
Exceptionpublic static Object getConvertedValue(Object obj, Method method, Map<String,String> props, String prop, boolean check_scope) throws Exception
Exceptionpublic static boolean usesDefaultConverter(Field field) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.