mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#945 fixes typo
This commit is contained in:
parent
5de2750740
commit
81b4535aad
@ -1383,7 +1383,7 @@ By default, the generated code for mapping one bean type into another will call
|
||||
|
||||
Alternatively you can plug in custom object factories which will be invoked to obtain instances of the target type. One use case for this is JAXB which creates `ObjectFactory` classes for obtaining new instances of schema types.
|
||||
|
||||
To do make use of custom factories register them via `@Mapper#uses()` as described in <<invoking-other-mappers>>. When creating the target object of a bean mapping, MapStruct will look for a parameterless method, or a method with only one `@TargetType` parameter that returns the required target type and invoke this method instead of calling the default constructor:
|
||||
To make use of custom factories register them via `@Mapper#uses()` as described in <<invoking-other-mappers>>. When creating the target object of a bean mapping, MapStruct will look for a parameterless method, or a method with only one `@TargetType` parameter that returns the required target type and invoke this method instead of calling the default constructor:
|
||||
|
||||
.Custom object factories
|
||||
====
|
||||
|
Loading…
x
Reference in New Issue
Block a user