All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dozer-jdk8-support.1.0.0.source-code.dozerJdk8Converters.xml Maven / Gradle / Ivy

Go to download

A library that provides the missing Java 8 type mappers for the Dozer Java Bean Mapper.

There is a newer version: 1.0.6
Show newest version
<?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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy