Class JAXBTypesafeEnumConverter

  • All Implemented Interfaces:
    Serializable, CoreConverter<DatabaseMapping,​Session>, Converter

    public class JAXBTypesafeEnumConverter
    extends Object
    implements Converter
    Purpose: JAXBTypesafeEnumConverter is used to allow mapping to type safe enums according to the JAXB 1.0 spec. Object values are not modified by the converter when writing data values. Data values are read in and the "fromString" method on the enumeration class is invoked with the data value as a parameter. The return value from the "fromString" method will be an instance of the enum class specified on the mapping.
    See Also:
    Serialized Form