org.dozer.loader
Class DozerBuilder

java.lang.Object
  extended by org.dozer.loader.DozerBuilder

public class DozerBuilder
extends Object

Builder API for achivieng the same effect as custom Xml mappings. Is intended to be used from application to prepare repetetive mappings programmatically.

Note that some of the fail-fast checks from Xml validation has not yet been ported. Responsibility on filling all mandatory attributes is left to API user.

Not thread safe

Author:
dmitry.buzdin

Nested Class Summary
static class DozerBuilder.ClassDefinitionBuilder
           
static class DozerBuilder.ConfigurationBuilder
           
static class DozerBuilder.CustomConverterBuilder
           
static interface DozerBuilder.FieldBuider
           
static class DozerBuilder.FieldDefinitionBuilder
           
static class DozerBuilder.FieldExclusionBuilder
           
static class DozerBuilder.FieldMappingBuilder
           
static class DozerBuilder.MappingBuilder
           
 
Constructor Summary
DozerBuilder()
           
 
Method Summary
 MappingFileData build()
           
 DozerBuilder.ConfigurationBuilder configuration()
           
 DozerBuilder.MappingBuilder mapping()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DozerBuilder

public DozerBuilder()
Method Detail

build

public MappingFileData build()

configuration

public DozerBuilder.ConfigurationBuilder configuration()

mapping

public DozerBuilder.MappingBuilder mapping()


Copyright © 2005-2011 dozer. All Rights Reserved.