模板引擎与XSLT很类似,可以产生模板定义的任何格式,包括XML、HTML、SQL和Groovy代码。
Template engines are like XSLT and can produce any format for which a template is defined, including XML, HTML, SQL, and Groovy code.
列表5显示了为扩展类而产生结果的模板样例。
Listing 5 shows a sample template that generates results for extending classes.
每一个模板都会产生其他人可以再使用的配置板项。
Each template will result in a palette item that others can reuse.
应用推荐