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.
|Tags||Text Processing Software Development Libraries Java Libraries Code Generators Internet Web Dynamic Content CGI Tools/Libraries General|
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.
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.
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.