学习笔记
yinch516
这个作者很懒,什么都没留下…
展开
-
Betwixt使用笔记——指定.betwixt模板文件
在使用betwixt根据Bean生成xml文件时,Betwixt默认识别的xml模版文件是以bean的名称为主文件名的".betwixt"文件。 比如: person.class person.betwixt 如果我希望能够重新指定其他文件作为模版文件的话,该如何操作呢? 比如我希望使用hello.betwixt作为person.class的模板文件,BeanWrite...2008-12-26 23:33:16 · 193 阅读 · 0 评论 -
Betwixt使用笔记——一个模板文件搞定复杂结构的Bean
对于复杂结构的beans,是否能够仅使用一个完整的.betwixt模版文件,而不是多个呢? 例如,对于如下的bean:[code="java"]public class Person{ public String getName(){} public void setName(String name){} public Pocket ...2008-12-26 23:48:37 · 195 阅读 · 0 评论