dozer-jdk8-support.1.0.2.source-code.dozerJdk8Converters.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dozer-jdk8-support Show documentation
Show all versions of dozer-jdk8-support Show documentation
A library that provides the missing Java 8 type mappers for the Dozer Java Bean Mapper.
<?xml version="1.0" encoding="UTF-8"?> <mappings xmlns="http://dozer.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://dozer.sourceforge.net http://dozer.sourceforge.net/schema/beanmapping.xsd"> <configuration> <custom-converters> <converter type="io.craftsman.Jdk8CompatibilityConverter"> <class-a>java.time.LocalDate</class-a> <class-b>java.time.LocalDate</class-b> </converter> <converter type="io.craftsman.Jdk8CompatibilityConverter"> <class-a>java.time.LocalTime</class-a> <class-b>java.time.LocalTime</class-b> </converter> <converter type="io.craftsman.Jdk8CompatibilityConverter"> <class-a>java.time.LocalDateTime</class-a> <class-b>java.time.LocalDateTime</class-b> </converter> <converter type="io.craftsman.Jdk8CompatibilityConverter"> <class-a>java.time.ZoneId</class-a> <class-b>java.time.ZoneId</class-b> </converter> <converter type="io.craftsman.Jdk8CompatibilityConverter"> <class-a>java.time.Period</class-a> <class-b>java.time.Period</class-b> </converter> <converter type="io.craftsman.Jdk8CompatibilityConverter"> <class-a>java.time.Duration</class-a> <class-b>java.time.Duration</class-b> </converter> <converter type="io.craftsman.JdkMissingConverter"> <class-a>java.util.Locale</class-a> <class-b>java.util.Locale</class-b> </converter> </custom-converters> </configuration> </mappings>