templates - 在哪里可以下载使用 stringtemplate 的完整示例 java 项目?

标签 templates template-engine stringtemplate stringtemplate-4

http://www.antlr.org/wiki/display/ST4/StringTemplate+4+Wiki+Home , http://www.stringtemplate.org/

我查看了 wiki,我可能会错过所有树木中的森林,但我需要看到一个完全正常工作的 java 项目,而不是一堆片段。理想情况下,几个完整的项目(github?)包含:

  • 商业逻辑。
  • header.htm、body.htm 和 footer.htm。
  • 多个正文页面,以便您可以了解它们如何与业务逻辑交互。

谢谢。

最佳答案

经过详尽的搜索后,我只能得出结论,StringTemplate 没有完整/示例项目。

我一直回来看看 StringTemplate 希望能尝试一下,但它确实很难开始,尤其是当大多数文档都有以下内容时:

"These examples work with StringTemplate 3"

目前还不清楚如何让它与 StringTemplate 4 一起使用

关于templates - 在哪里可以下载使用 stringtemplate 的完整示例 java 项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6957026/

相关文章:

Stringtemplate 4 (st4) - 如果字符串不为空则渲染

c++ - 什么是用于序号排序的 QT 或开源 C++ 模板

php - 如果客户/付款方发生意外,如何保存在线交易数据?

javascript - 在 JavaScript 模板引擎中使用 Markdown

javascript - 你如何防止换行符添加到 Handlebars 部分?

java - StringTemplate 不替换不匹配的模式

templates - SingleThreaderDialog.Exception.NoValidMappingDetailsFound

c++ - try catch 模板类中定义的异常

c++ - 为什么为通用基类型编写通用代码是 C++ 中模板的糟糕替代方案?

stringtemplate - 如何在 StringTemplate 部分中使用 $it$ 以外的变量名称?