Templator is a text generating utility licensed under GPL. It is developed as a part of the HotelCalifornia XML to Java framework.
Check project website at SourceForge for latest release.
If you ever heard of JSPTM or Java Server PagesTM then this concept will be nothing new.
Templator produces a Java source file based on the template. This file is compiled and invoked whenever you want to produce an output based on this template. Files are generated in the default temporary directory (depends on the OS) or in directory specified by system parameter "templator.workDir" in your template 'driver'
See templates section.
Sun Microsystems owns the JSPTM