Class JAXBElementConverter

  • All Implemented Interfaces:
    org.apache.commons.beanutils.Converter

    public class JAXBElementConverter
    extends Object
    implements org.apache.commons.beanutils.Converter
    • Method Detail

      • convert

        public Object convert​(Class type,
                              Object value)
        Convert the specified input object into an output object of the specified type.
        Specified by:
        convert in interface org.apache.commons.beanutils.Converter
        Parameters:
        type - Data type to which this value should be converted
        value - The input value to be converted
        Returns:
        The converted value
        Throws:
        org.apache.commons.beanutils.ConversionException - if conversion cannot be performed successfully
      • getBeanId

        public String getBeanId()
        Resolve the beanId associated to destination field name
        Returns:
        bean id