public class MConvertUtilsBean
extends org.apache.commons.beanutils.ConvertUtilsBean
ConvertUtilsBean
and overrides methods to use MRules conversion framework.Constructor and Description |
---|
MConvertUtilsBean() |
Modifier and Type | Method and Description |
---|---|
String |
convert(Object value) |
Object |
convert(Object value,
Class<?> clazz) |
Object |
convert(String[] values,
Class<?> clazz) |
Object |
convert(String value,
Class<?> clazz) |
void |
deregister() |
void |
deregister(Class<?> clazz) |
org.apache.commons.beanutils.Converter |
lookup(Class<?> clazz) |
org.apache.commons.beanutils.Converter |
lookup(Class<?> sourceType,
Class<?> targetType) |
void |
register(boolean throwException,
boolean defaultNull,
int defaultArraySize) |
void |
register(org.apache.commons.beanutils.Converter converter,
Class<?> clazz) |
getDefaultBoolean, getDefaultByte, getDefaultCharacter, getDefaultDouble, getDefaultFloat, getDefaultInteger, getDefaultLong, getDefaultShort, getInstance, setDefaultBoolean, setDefaultByte, setDefaultCharacter, setDefaultDouble, setDefaultFloat, setDefaultInteger, setDefaultLong, setDefaultShort
public String convert(Object value)
convert
in class org.apache.commons.beanutils.ConvertUtilsBean
public Object convert(String value, Class<?> clazz)
convert
in class org.apache.commons.beanutils.ConvertUtilsBean
public Object convert(String[] values, Class<?> clazz)
convert
in class org.apache.commons.beanutils.ConvertUtilsBean
public Object convert(Object value, Class<?> clazz)
convert
in class org.apache.commons.beanutils.ConvertUtilsBean
public org.apache.commons.beanutils.Converter lookup(Class<?> clazz)
lookup
in class org.apache.commons.beanutils.ConvertUtilsBean
public org.apache.commons.beanutils.Converter lookup(Class<?> sourceType, Class<?> targetType)
lookup
in class org.apache.commons.beanutils.ConvertUtilsBean
public void deregister()
deregister
in class org.apache.commons.beanutils.ConvertUtilsBean
public void register(boolean throwException, boolean defaultNull, int defaultArraySize)
register
in class org.apache.commons.beanutils.ConvertUtilsBean
public void deregister(Class<?> clazz)
deregister
in class org.apache.commons.beanutils.ConvertUtilsBean
public void register(org.apache.commons.beanutils.Converter converter, Class<?> clazz)
register
in class org.apache.commons.beanutils.ConvertUtilsBean