The creation of Java source files is done using the FreeMarker template engine. Each node of the mapper model has a corresponding FreeMarker template file which provides the Java representation of that element and can include sub-elements via a custom FreeMarker directive. That way writing out a root node of the model ( {@code Mapper}) will recursively include all contained sub-elements (such as its methods, their property mappings etc.). @author Gunnar Morling
|
|