@ -292,7 +292,7 @@ Now that I have a domain class to feed to a template. Let’s sketch out a templ
Firstly, we need to create a list of "Person" objects. The list is fed to CodeGenerator, and the ZoneId of the Person object is used for each Person to find out what greeting to use.
Firstly, we need to create a list of "Person" objects. The list is fed to CodeGenerator, and the ZoneId of the Person object is used for each Person to find out what greeting to use.
```
```java
<<:begin>>
<<:begin>>
<<:methodgenerateList<Person> model>>
<<:methodgenerateList<Person> model>>
for (Person person : model) {
for (Person person : model) {
@ -320,7 +320,7 @@ Firstly, we need to create a list of "Person" objects. The list is fed to CodeGe
Secondly, a new file with the text content is created for each Person.
Secondly, a new file with the text content is created for each Person.
```
```java
<<:begin>>
<<:begin>>
<<:methodgenerateList<Person> model>>
<<:methodgenerateList<Person> model>>
for (Person person : model) {
for (Person person : model) {
@ -358,7 +358,7 @@ Lastly, we append the appropriate greeting for each Person to the Person's name.
After filling out import statements and few extra generative functions, We now have a complete template to achieve the goal.
After filling out import statements and few extra generative functions, We now have a complete template to achieve the goal.