calculate
protected static LocaleBeanUtils.Descriptor calculate(Object bean,
String name)
throws IllegalAccessException,
InvocationTargetException
moved into LocaleBeanUtilsBean
Resolve any nested expression to get the actual target bean.
bean
- The beanname
- The property name
convert
protected static Object convert(Class type,
int index,
Object value,
String pattern)
Convert the specified value to the required type using the
specified convertion pattern.
For more details see
LocaleBeanUtilsBean
LocaleBeanUtilsBean.convert(Class,int,Object,String)
getIndexedProperty
public static String getIndexedProperty(Object bean,
String name)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified locale-sensitive indexed property
of the specified bean, as a String using the default convertion pattern of
the corresponding
LocaleConverter
.
For more details see
LocaleBeanUtilsBean
- getIndexedProperty in interface BeanUtils
LocaleBeanUtilsBean.getIndexedProperty(Object,String)
getIndexedProperty
public static String getIndexedProperty(Object bean,
String name,
String pattern)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified locale-sensitive indexed property
of the specified bean, as a String.
For more details see
LocaleBeanUtilsBean
LocaleBeanUtilsBean.getIndexedProperty(Object,String,String)
getIndexedProperty
public static String getIndexedProperty(Object bean,
String name,
int index)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified locale-sensetive indexed property
of the specified bean, as a String using the default convertion pattern of
the corresponding
LocaleConverter
.
For more details see
LocaleBeanUtilsBean
- getIndexedProperty in interface BeanUtils
LocaleBeanUtilsBean.getIndexedProperty(Object,String,int)
getIndexedProperty
public static String getIndexedProperty(Object bean,
String name,
int index,
String pattern)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified locale-sensetive indexed property
of the specified bean, as a String using the specified convertion pattern.
For more details see
LocaleBeanUtilsBean
LocaleBeanUtilsBean.getIndexedProperty(Object,String,int,String)
getMappedProperty
public static String getMappedProperty(Object bean,
String name)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified locale-sensitive mapped property
of the specified bean, as a String using the default
convertion pattern of the corresponding
LocaleConverter
.
For more details see
LocaleBeanUtilsBean
- getMappedProperty in interface BeanUtils
LocaleBeanUtilsBean.getMappedProperty(Object,String)
getMappedProperty
public static String getMappedProperty(Object bean,
String name,
String key)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified mapped locale-sensitive property
of the specified bean, as a String
The key is specified as a method parameter and must *not* be included
in the property name expression.
For more details see
LocaleBeanUtilsBean
- getMappedProperty in interface BeanUtils
LocaleBeanUtilsBean.getMappedProperty(Object,String,String)
getMappedProperty
public static String getMappedProperty(Object bean,
String name,
String key,
String pattern)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified mapped locale-sensitive property
of the specified bean, as a String using the specified convertion pattern.
For more details see
LocaleBeanUtilsBean
LocaleBeanUtilsBean.getMappedProperty(Object,String,String,String)
getMappedPropertyLocale
public static String getMappedPropertyLocale(Object bean,
String name,
String pattern)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified locale-sensitive mapped property
of the specified bean, as a String using the specified pattern.
For more details see
LocaleBeanUtilsBean
LocaleBeanUtilsBean.getMappedPropertyLocale(Object,String,String)
getNestedProperty
public static String getNestedProperty(Object bean,
String name)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the (possibly nested) locale-sensitive property
of the specified name.
For more details see
LocaleBeanUtilsBean
- getNestedProperty in interface BeanUtils
LocaleBeanUtilsBean.getNestedProperty(Object,String)
getNestedProperty
public static String getNestedProperty(Object bean,
String name,
String pattern)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the (possibly nested) locale-sensitive property
of the specified name, for the specified bean,
as a String using the specified pattern.
For more details see
LocaleBeanUtilsBean
LocaleBeanUtilsBean.getNestedProperty(Object,String,String)
getProperty
public static String getProperty(Object bean,
String name)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified locale-sensitive property
of the specified bean.
For more details see
LocaleBeanUtilsBean
- getProperty in interface BeanUtils
LocaleBeanUtilsBean.getProperty(Object,String)
getProperty
public static String getProperty(Object bean,
String name,
String pattern)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified locale-sensitive property
of the specified bean.
For more details see
LocaleBeanUtilsBean
LocaleBeanUtilsBean.getProperty(Object,String,String)
getSimpleProperty
public static String getSimpleProperty(Object bean,
String name)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified simple locale-sensitive property
of the specified bean, converted to a String using the default
convertion pattern of the corresponding
LocaleConverter
.
For more details see
LocaleBeanUtilsBean
- getSimpleProperty in interface BeanUtils
LocaleBeanUtilsBean.getSimpleProperty(Object,String)
getSimpleProperty
public static String getSimpleProperty(Object bean,
String name,
String pattern)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
Return the value of the specified simple locale-sensitive property
of the specified bean, converted to a String using the specified
convertion pattern.
For more details see
LocaleBeanUtilsBean
LocaleBeanUtilsBean.getSimpleProperty(Object,String,String)
setProperty
public static void setProperty(Object bean,
String name,
Object value)
throws IllegalAccessException,
InvocationTargetException
Set the specified locale-sensitive property value, performing type
conversions as required to conform to the type of the destination property
using the default convertion pattern of the corresponding
LocaleConverter
.
For more details see
LocaleBeanUtilsBean
- setProperty in interface BeanUtils
LocaleBeanUtilsBean.setProperty(Object,String,Object)
setProperty
public static void setProperty(Object bean,
String name,
Object value,
String pattern)
throws IllegalAccessException,
InvocationTargetException
Set the specified locale-sensitive property value, performing type
conversions as required to conform to the type of the destination
property using the specified convertion pattern.
For more details see
LocaleBeanUtilsBean
LocaleBeanUtilsBean.setProperty(Object,String,Object,String)