public class JAXBElementConverter extends Object implements org.apache.commons.beanutils.Converter
| Constructor and Description |
|---|
JAXBElementConverter(String destObjClass,
String destFieldName,
DateFormat dateFormat,
BeanContainer beanContainer) |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Class type,
Object value)
Convert the specified input object into an output object of the
specified type.
|
String |
getBeanId()
Resolve the beanId associated to destination field name
|
public JAXBElementConverter(String destObjClass, String destFieldName, DateFormat dateFormat, BeanContainer beanContainer)
public Object convert(Class type, Object value)
convert in interface org.apache.commons.beanutils.Convertertype - Data type to which this value should be convertedvalue - The input value to be convertedorg.apache.commons.beanutils.ConversionException - if conversion cannot be performed successfullypublic String getBeanId()
Copyright © 2005–2021 dozer. All rights reserved.