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
IllegalArgumentException
public static String getPropertyName(Method method) throws IllegalArgumentException
IllegalArgumentException
public static Object getConvertedValue(Object obj, Field field, Map<String,String> props, String prop, boolean check_scope) throws Exception
Exception
public static Object getConvertedValue(Object obj, Field field, String value, boolean check_scope) throws Exception
Exception
public static Object getConvertedValue(Object obj, Method method, Map<String,String> props, String prop, boolean check_scope) throws Exception
Exception
public static boolean usesDefaultConverter(Field field) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.