public class ELConfigurationDefinition extends ConfigurationDefinition
Required Attributes:
Optional Attributes:
stop-on-errors Indicates whether Dozer should stop mapping fields and throw the Exception if an error is encountered while performing a field mapping. It is recommended that this is set to "true". If set to "false", Dozer will trap the exception, log the error, and then continue mapping subsequent fields. The default value is "true".
date-format The string format of Date fields. This is used for field mapping between Strings and Dates
wildcard Indicates whether Dozer automatically map fields that have the same name. This will typically be set to "true". The default value is "true"
wildcard-case-insensitive Indicates whether Dozer should ignore the case of field names when applying wildcard mapping. The default value is "false"
trim-strings Indicates whether Dozer automatically trims String values prior to setting the destination value. The default value is "false"
bean-factory The factory class to create data objects. This typically will not be specified. By default Dozer constructs new instances of data objects by invoking the no-arg constructor
relationship-type Indications whether collections are mapped cumulative or non-cumulative. cumulative indicates the element is added to the collection.
non-cumulative indicates the element will be added or an existing entry will be updated.
custom-converters The custom converters to be registered with Dozer.
copy-by-references Indicates which class types should always be copied by reference
allowedExceptions, beanFactory, copyByReferences, customConverters, dateFormat, mapEmptyString, mapNull, relationshipType, stopOnErrors, trimStrings, variables, wildcard, wildcardCaseInsensitive| Constructor and Description |
|---|
ELConfigurationDefinition(ELEngine elEngine,
ConfigurationDefinition copy) |
ELConfigurationDefinition(ELEngine elEngine,
MappingsDefinition parent) |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
build(BeanContainer beanContainer) |
AllowedExceptionsDefinition |
withAllowedExceptions() |
CopyByReferencesDefinition |
withCopyByReferences() |
CustomConvertersDefinition |
withCustomConverters() |
VariablesDefinition |
withVariables() |
end, withBeanFactory, withDateFormat, withMapEmptyString, withMapNull, withRelationshipType, withStopOnErrors, withTrimStrings, withWildcard, withWildcardCaseInsensitivepublic ELConfigurationDefinition(ELEngine elEngine, ConfigurationDefinition copy)
public ELConfigurationDefinition(ELEngine elEngine, MappingsDefinition parent)
public CustomConvertersDefinition withCustomConverters()
withCustomConverters in class ConfigurationDefinitionpublic CopyByReferencesDefinition withCopyByReferences()
withCopyByReferences in class ConfigurationDefinitionpublic AllowedExceptionsDefinition withAllowedExceptions()
withAllowedExceptions in class ConfigurationDefinitionpublic VariablesDefinition withVariables()
withVariables in class ConfigurationDefinitionpublic Configuration build(BeanContainer beanContainer)
build in class ConfigurationDefinitionCopyright © 2005–2021 dozer. All rights reserved.