Projects / JTLT


JTLT is a general text based templating system that is very easy to use and powerful. It can be used for almost anything, including code generation for translators/compilers and HTML output for Java servlets. It features replaceable keys, nested block structures, an extensible macro system (even keys are implemented as macros), a separation of parsing and output generation, a separation of macro settings and parsing, in-memory caching of parsed templates, weak typing, and extensive documentation.


Recent releases

  •  13 Oct 2003 20:11

    Release Notes: A couple of minor bugs have been fixed. Lock at front works now. A small bug with argumentless macros has been fixed. A new SepMacro macro has been added for easy separator sub creation. A new major feature, macro shortcuts, has been added (see example6). There is a reader class to get better output from templates.

    •  30 Sep 2003 01:16

      Release Notes: This release changes the text-based alias database interface to FilebasedAliasDatabase, introduces mass replacing functions to Template and HtmlTemplate, renames replaceall to nreplace, adds two new examples, and changes some examples. Encoding functions now have consistent naming at HtmlTemplate. There's now better support for internationalization and charset at TemplateContext.

      •  12 Sep 2003 18:40

        Release Notes: The build system has been moved to Ant. There is a major cleanup of the API, which has changed a lot. The constructors have been removed from Template; it will now always get a Template through TemplateGenerator. Macro arguments can now contain macros, and macro output can be recursive. An HTML specialization template has been implemented. Localization support has been added. New macros: HtmlKeyMacro, EncloseMacro, IncludeMacro, JsKeyMacro, and AliasMacro.

        •  06 Sep 2003 05:28

          Release Notes:


          Project Spotlight


          A Fluent OpenStack client API for Java.


          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.